X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_field.py;h=db6404455cfc26609384341e35828b1fe031bbb5;hp=ed3661ebbc13004b481bd94ad6d039f4b66b1e1d;hb=26fc5aedf;hpb=bfb5625df591dcd384f50af3a93c5904ea6b7fcd diff --git a/tests/bindings/python/bt2/test_field.py b/tests/bindings/python/bt2/test_field.py index ed3661eb..db640445 100644 --- a/tests/bindings/python/bt2/test_field.py +++ b/tests/bindings/python/bt2/test_field.py @@ -44,7 +44,8 @@ def _create_stream(tc, ctx_field_classes): packet_context_fc.append_member(name, fc) trace = tc() - stream_class = tc.create_stream_class(packet_context_field_class=packet_context_fc) + stream_class = tc.create_stream_class(packet_context_field_class=packet_context_fc, + supports_packets=True) stream = trace.create_stream(stream_class) return stream