X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_field.py;h=a8d2fa021705e541c6129e20f37eba8a32e348d7;hb=0aa006b7775f9578e37c0f006df795e903d25acc;hp=2af55fb241dd46a5d703bafd644cf0738693f5a1;hpb=f2817f2e112d4088eeb7eed7225edf7a567e52a7;p=babeltrace.git diff --git a/tests/bindings/python/bt2/test_field.py b/tests/bindings/python/bt2/test_field.py index 2af55fb2..a8d2fa02 100644 --- a/tests/bindings/python/bt2/test_field.py +++ b/tests/bindings/python/bt2/test_field.py @@ -2194,7 +2194,9 @@ class OptionFieldTestCase(unittest.TestCase): field.value = {'opt_field': 'hiboux'} def _create_fc(self, tc): - fc = tc.create_option_field_class(tc.create_string_field_class()) + fc = tc.create_option_without_selector_field_class( + tc.create_string_field_class() + ) top_fc = tc.create_structure_field_class() top_fc.append_member('opt_field', fc) return top_fc