summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rw-r--r--test.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/test.py b/test.py
index 1dee0f4..258bf3f 100644
--- a/test.py
+++ b/test.py
@@ -122,13 +122,13 @@ def wraptest():
assert p == x.store
for key, value in x.cache.items():
assert x.store[key] == value
-
+
tmp = list(x.items())
tmp.sort()
-
+
tmp2 = list(p.items())
tmp2.sort()
-
+
assert tmp == tmp2
p = dict()
@@ -145,20 +145,20 @@ def wraptest2():
for key, value in x.store.items():
if key not in x.dirty:
assert p[key] == value
-
+
for key in x.dirty:
assert x.cache.peek(key) == p[key]
-
+
for key, value in x.cache.items():
if key not in x.dirty:
assert x.store[key] == p[key] == value
-
+
tmp = list(x.items())
tmp.sort()
-
+
tmp2 = list(p.items())
tmp2.sort()
-
+
assert tmp == tmp2
p = dict()
@@ -176,10 +176,10 @@ def wraptest3():
for key, value in x.store.items():
if key not in x.dirty:
assert p[key] == value
-
+
for key in x.dirty:
assert x.cache.peek(key) == p[key]
-
+
for key, value in x.cache.items():
if key not in x.dirty:
assert x.store[key] == p[key] == value