diff options
| author | Yuval Adam <_@yuv.al> | 2018-03-28 23:48:16 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-04-02 11:15:41 +0300 |
| commit | bfc9b7a416450e72b6309fcaf41ec102f7dc2901 (patch) | |
| tree | ccfbac56e5e42374e1af3b9ad7594f6e2a209a09 /tests | |
| parent | 1fe372cad7ed896a790ff689ec938b7df87c577f (diff) | |
Some level of metaprogramming is working
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_parse.py | 12 |
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' |
