X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_field_class.py;h=bb73da48c03c41646faacdca9daa3f1ea4a1e766;hp=012545af11411b3353c7033558eaaaf7ab957768;hb=26fc5aedf;hpb=bfb5625df591dcd384f50af3a93c5904ea6b7fcd diff --git a/tests/bindings/python/bt2/test_field_class.py b/tests/bindings/python/bt2/test_field_class.py index 012545af..bb73da48 100644 --- a/tests/bindings/python/bt2/test_field_class.py +++ b/tests/bindings/python/bt2/test_field_class.py @@ -451,7 +451,7 @@ class VariantFieldClassTestCase(_TestFieldContainer, unittest.TestCase): # The path to the selector field is resolved when the sequence is # actually used, for example in a packet context. - self._tc.create_stream_class(packet_context_field_class=outer_struct_fc) + self._tc.create_stream_class(supports_packets=True, packet_context_field_class=outer_struct_fc) return fc @@ -545,7 +545,8 @@ class DynamicArrayFieldClassTestCase(unittest.TestCase): # The path to the length field is resolved when the sequence is # actually used, for example in a packet context. - self._tc.create_stream_class(packet_context_field_class=outer_struct_fc) + self._tc.create_stream_class(packet_context_field_class=outer_struct_fc, + supports_packets=True) return fc