Commit 6008858a authored by Matt Traudt's avatar Matt Traudt
Browse files

Make two tests actually test something

parent e00e531f
...@@ -68,7 +68,7 @@ def test_state_del(tmpdir): ...@@ -68,7 +68,7 @@ def test_state_del(tmpdir):
attempt_keys = (15983, None, True, -1.2, [], {}, set()) attempt_keys = (15983, None, True, -1.2, [], {}, set())
for key in attempt_keys: for key in attempt_keys:
try: try:
del state[False] del state[key]
except TypeError: except TypeError:
pass pass
else: else:
...@@ -116,5 +116,4 @@ def test_state_iter(tmpdir): ...@@ -116,5 +116,4 @@ def test_state_iter(tmpdir):
d = {'a': 1, 'b': 2, 'c': 3, 'd': 4} d = {'a': 1, 'b': 2, 'c': 3, 'd': 4}
for key in d: for key in d:
state[key] = d[key] state[key] = d[key]
for key in state: assert set([key for key in state]) == set(d)
pass
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment