Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 87fea93

Browse files
committed
Improve base frame testing.
1 parent 6915140 commit 87fea93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/test_hyper.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ def test_base_frame_cant_serialize(self):
3838
with pytest.raises(NotImplementedError):
3939
f.serialize()
4040

41+
def test_base_frame_cant_parse_body(self):
42+
data = b''
43+
f = Frame(0)
44+
with pytest.raises(NotImplementedError):
45+
f.parse_body(data)
46+
4147

4248
class TestDataFrame(object):
4349
def test_data_frame_has_only_one_flag(self):

0 commit comments

Comments
 (0)