diff options
| author | Yuval Adam <_@yuv.al> | 2018-03-30 09:21:42 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-04-02 11:16:27 +0300 |
| commit | 4097bc6b3b64428693a98a1349d5806774b291bb (patch) | |
| tree | c05808bf7a45e332da9d0ad0dbe99bd6d6b282a2 /tests/test_parse.py | |
| parent | 7d923f6f7c018f6bdc4d414763fb5994fcb427d5 (diff) | |
Add comments and fix Color test
Diffstat (limited to 'tests/test_parse.py')
| -rw-r--r-- | tests/test_parse.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py index 62f0f23..d215fd4 100644 --- a/tests/test_parse.py +++ b/tests/test_parse.py @@ -36,9 +36,10 @@ class TestParse(object): vs = ViewState(raw=b'\xff\x01\x10\x67\x68\x67') assert vs.decode() == (True, False, True) - def test_unknown_color(self): - vs = ViewState(raw=b'\xff\x01\n\x01\x02') - assert vs.decode() == 'Color: unknown' # all colors are unknown for now + @pytest.mark.skip(reason='Color parsing is not yet supported') + def test_color(self): + vs = ViewState(raw=b'\xff\x01\n\x91\x01') + assert vs.decode() == 'Color: Salmon' def test_rgba(self): vs = ViewState(raw=b'\xff\x01\x09\x10\x20\x30\x40') |
