コード例 #1
0
 def test_base_frame_cant_parse_body(self):
     data = b''
     f = Frame(0)
     with pytest.raises(NotImplementedError):
         f.parse_body(data)
コード例 #2
0
ファイル: test_frames.py プロジェクト: asraa/hyperframe
 def test_base_frame_cant_parse_body(self):
     data = b''
     f = Frame(stream_id=0)
     with pytest.raises(NotImplementedError):
         f.parse_body(data)