self._tc.create_stream_class(packet_context_field_class=fc)
def test_create_event_common_context_field_class(self):
fc = self._tc.create_structure_field_class()
sc = self._tc.create_stream_class(event_common_context_field_class=fc)
self.assertEqual(sc.event_common_context_field_class, fc)
self._tc.create_stream_class(packet_context_field_class=fc)
def test_create_event_common_context_field_class(self):
fc = self._tc.create_structure_field_class()
sc = self._tc.create_stream_class(event_common_context_field_class=fc)
self.assertEqual(sc.event_common_context_field_class, fc)