summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rw-r--r--test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test.py b/test.py
index 1f84bc2..c0cfc10 100644
--- a/test.py
+++ b/test.py
@@ -19,10 +19,10 @@ class TestViewState(unittest.TestCase):
vs.raw = b'\x01\x02'
vs.decode()
- # def test_parse(self):
- # vs = ViewState()
- # vs.raw = b'\xff\x01\x67'
- # self.assertTrue(vs.decode())
+ def test_parse_const_value(self):
+ vs = ViewState()
+ vs.raw = b'\xff\x01\x67'
+ self.assertEquals(vs.decode(), True)
if __name__ == '__main__':
unittest.main()