lib: add option field classes with integer selectors
[babeltrace.git] / tests / bindings / python / bt2 / test_field.py
index 2af55fb241dd46a5d703bafd644cf0738693f5a1..a8d2fa021705e541c6129e20f37eba8a32e348d7 100644 (file)
@@ -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
This page took 0.024511 seconds and 4 git commands to generate.