Skip to content

Commit

Permalink
make the dummy config construct a dict
Browse files Browse the repository at this point in the history
  • Loading branch information
b97pla committed Oct 11, 2023
1 parent 78b19e1 commit 8c97d7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class TestUtils:
"tsm_mock_enabled": False
}

class DummyConfig:
def __getitem__(self, key):
return TestUtils.DUMMY_CONFIG[key]
class DummyConfig(dict):

def __init__(self):
super(DummyConfig, self).__init__(TestUtils.DUMMY_CONFIG)

0 comments on commit 8c97d7b

Please sign in to comment.