X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_field.py;h=a8d2fa021705e541c6129e20f37eba8a32e348d7;hb=467673c1a8e30cc146cddffa1970bbb430052680;hp=2af55fb241dd46a5d703bafd644cf0738693f5a1;hpb=05189245f61dcc2ae98aa58ef7a26b44c4904cda;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