mirror of
https://github.com/simon987/hexlib.git
synced 2025-12-13 14:49:05 +00:00
Use hash in volatile state
This commit is contained in:
@@ -23,7 +23,7 @@ class TestVolatileState(TestCase):
|
||||
s["b"]["3"] = 3
|
||||
s["b"]["4"] = 4
|
||||
|
||||
self.assertEqual(sum(s["b"]), 10)
|
||||
self.assertEqual(sum(v for k,v in s["b"]), 10)
|
||||
|
||||
def test_int_key(self):
|
||||
s = VolatileState(prefix="test2")
|
||||
|
||||
Reference in New Issue
Block a user