File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2020#
2121
2222#
23- # Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
23+ # Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
2424#
2525import os
2626import tempfile
@@ -37,5 +37,5 @@ def test_read_config_empty_yaml():
3737 res = read_config (mock (spec = logging .Logger , strict = False ), tmpf .name )
3838 os .remove (tmpf .name )
3939 assert res is not None
40- assert type (res ) == dict
40+ assert type (res ) is dict
4141 assert len (res ) == 0
Original file line number Diff line number Diff line change 2020#
2121
2222#
23- # Copyright (c) 2019, 2022 , Oracle and/or its affiliates. All rights reserved.
23+ # Copyright (c) 2019, 2023 , Oracle and/or its affiliates. All rights reserved.
2424#
2525
2626import pytest
3030
3131from mockito import verify , patch , mock
3232
33- from opengrok_tools .utils .restful import call_rest_api ,\
33+ from opengrok_tools .utils .restful import call_rest_api , \
3434 CONTENT_TYPE , APPLICATION_JSON , do_api_call
3535from opengrok_tools .utils .commandsequence import ApiCall
3636
You can’t perform that action at this time.
0 commit comments