+ self._tc.create_stream_class(
+ default_clock_class=self._cc, packets_have_end_default_clock_snapshot=23
+ )
+
+ def test_does_not_support_packets_raises_with_begin_cs(self):
+ with self.assertRaises(ValueError):
+ self._tc.create_stream_class(
+ default_clock_class=self._cc,
+ packets_have_beginning_default_clock_snapshot=True,
+ )
+
+ def test_does_not_support_packets_raises_with_end_cs(self):
+ with self.assertRaises(ValueError):
+ self._tc.create_stream_class(
+ default_clock_class=self._cc,
+ packets_have_end_default_clock_snapshot=True,
+ )