Beispiel #1
0
 def test_insert(self):
     storage = Storage(a=1, b=2)
     assert storage.a == 1
     assert storage.b == 2
Beispiel #2
0
 def test_keys(self):
     storage = Storage(a=1, b=2)
     key = storage.keys()
     key = list(key)
     assert key[0] == 'a' or 'b'
     assert key[1] == 'b' or 'a'