summaryrefslogtreecommitdiff
path: root/tests/test_parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_parse.py')
-rw-r--r--tests/test_parse.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py
index 56f36c9..1a83ac5 100644
--- a/tests/test_parse.py
+++ b/tests/test_parse.py
@@ -6,15 +6,19 @@ from os.path import join
from viewstate import *
-class TestParse(object):
+class TestNewParse(object):
+ def test_const_value(self):
+ vs = ViewState(raw=b'\xff\x01\x67')
+ assert vs.decode() is True
def test_int_value(self):
vs = ViewState(raw=b'\xff\x01\x02\x88\x01')
assert vs.decode() == 136
- def test_const_value(self):
- vs = ViewState(raw=b'\xff\x01\x67')
- assert vs.decode() is True
+@pytest.mark.skip()
+class TestParse(object):
+
+
def test_string_value(self):
s = 'abcdefghij'