summaryrefslogtreecommitdiff
path: root/tests/test_parse.py
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2018-03-29 21:47:26 +0200
committerYuval Adam <_@yuv.al>2018-04-02 11:16:06 +0300
commit442a166869859b6c3e0d1119bbad60fc054580e3 (patch)
treeea24f2e6b73de9de55b5f36f38fc0aa9c976151a /tests/test_parse.py
parentaca380284ca619cd08ede20bc204e9d03a5409c5 (diff)
Things looking good
Diffstat (limited to 'tests/test_parse.py')
-rw-r--r--tests/test_parse.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py
index 1a83ac5..570ab96 100644
--- a/tests/test_parse.py
+++ b/tests/test_parse.py
@@ -15,16 +15,14 @@ class TestNewParse(object):
vs = ViewState(raw=b'\xff\x01\x02\x88\x01')
assert vs.decode() == 136
-@pytest.mark.skip()
-class TestParse(object):
-
-
-
def test_string_value(self):
s = 'abcdefghij'
vs = ViewState(raw=b'\xff\x01\x05' + bytes([len(s)]) + s.encode())
assert vs.decode() == s
+
+@pytest.mark.skip()
+class TestParse(object):
def test_simple_dict(self):
vs = ViewState(raw=b'\xff\x01\x18\x02\x05\x01a\x05\x01b\x05\x01c\x05\x01d')
assert vs.decode() == {'a': 'b', 'c': 'd'}