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 20
20
#
21
21
22
22
#
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.
24
24
#
25
25
import os
26
26
import tempfile
@@ -37,5 +37,5 @@ def test_read_config_empty_yaml():
37
37
res = read_config (mock (spec = logging .Logger , strict = False ), tmpf .name )
38
38
os .remove (tmpf .name )
39
39
assert res is not None
40
- assert type (res ) == dict
40
+ assert type (res ) is dict
41
41
assert len (res ) == 0
Original file line number Diff line number Diff line change 20
20
#
21
21
22
22
#
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.
24
24
#
25
25
26
26
import pytest
30
30
31
31
from mockito import verify , patch , mock
32
32
33
- from opengrok_tools .utils .restful import call_rest_api ,\
33
+ from opengrok_tools .utils .restful import call_rest_api , \
34
34
CONTENT_TYPE , APPLICATION_JSON , do_api_call
35
35
from opengrok_tools .utils .commandsequence import ApiCall
36
36
You can’t perform that action at this time.
0 commit comments