test_lib: Fix repeated name of test_state_handler.
This commit is contained in:
parent
7fc1ff5e0e
commit
88b649d689
|
@ -27,7 +27,7 @@ class FakeClient:
|
||||||
result='success',
|
result='success',
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_storage(self):
|
def get_storage(self, keys):
|
||||||
return dict(
|
return dict(
|
||||||
result='success',
|
result='success',
|
||||||
storage=self.storage,
|
storage=self.storage,
|
||||||
|
@ -78,7 +78,7 @@ class LibTest(TestCase):
|
||||||
val = state_handler.get('key')
|
val = state_handler.get('key')
|
||||||
self.assertEqual(val, [1, 2, 3])
|
self.assertEqual(val, [1, 2, 3])
|
||||||
|
|
||||||
def test_state_handler(self):
|
def test_state_handler_by_mock(self):
|
||||||
client = MagicMock()
|
client = MagicMock()
|
||||||
|
|
||||||
state_handler = StateHandler(client)
|
state_handler = StateHandler(client)
|
||||||
|
|
Loading…
Reference in a new issue