projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make packets and packet messages optional, disabled by default
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_field_class.py
diff --git
a/tests/bindings/python/bt2/test_field_class.py
b/tests/bindings/python/bt2/test_field_class.py
index 012545af11411b3353c7033558eaaaf7ab957768..bb73da48c03c41646faacdca9daa3f1ea4a1e766 100644
(file)
--- 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.
# 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
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.
# 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
return fc
This page took
0.024228 seconds
and
4
git commands to generate.