lib: rename `bt_scope` -> `bt_field_path_scope`
[babeltrace.git] / tests / bindings / python / bt2 / test_field_class.py
index d99416119caac1d7130dd7bad210583be7007f66..b9b7a2f9919a4c55ac51bc0d4a835f9a99cc740c 100644 (file)
@@ -624,7 +624,7 @@ class _VariantFieldClassWithSelectorTestCase:
     def test_selector_field_path_root_scope(self):
         self._fill_default_fc_for_field_path_test()
         self.assertEqual(
-            self._fc.selector_field_path.root_scope, bt2.Scope.PACKET_CONTEXT
+            self._fc.selector_field_path.root_scope, bt2.FieldPathScope.PACKET_CONTEXT
         )
 
 
@@ -749,7 +749,9 @@ class DynamicArrayFieldClassTestCase(unittest.TestCase):
 
     def test_field_path_root_scope(self):
         fc = self._create_field_class_for_field_path_test()
-        self.assertEqual(fc.length_field_path.root_scope, bt2.Scope.PACKET_CONTEXT)
+        self.assertEqual(
+            fc.length_field_path.root_scope, bt2.FieldPathScope.PACKET_CONTEXT
+        )
 
     def test_create_invalid_field_class(self):
         with self.assertRaises(TypeError):
This page took 0.02708 seconds and 4 git commands to generate.