def test_base_frame_cant_serialize(self): f = Frame(0) with pytest.raises(NotImplementedError): f.serialize()
def test_base_frame_cant_serialize(self): f = Frame(stream_id=0) with pytest.raises(NotImplementedError): f.serialize()