def test_insert(self): storage = Storage(a=1, b=2) assert storage.a == 1 assert storage.b == 2
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'