bt2: Add `Const` suffix to non-user component-related classes and adapt tests
[babeltrace.git] / tests / bindings / python / bt2 / test_component_class.py
index 98fc91dbb9b7f8de675a95a59e71f66b40542fbd..100694285fcbbee4d8f5aee585b396f011793b33 100644 (file)
@@ -326,7 +326,7 @@ class ComponentClassTestCase(unittest.TestCase):
         graph = bt2.Graph()
         comp = graph.add_component(MySink, 'salut')
         self._comp_cls = comp.cls
-        self.assertTrue(issubclass(type(self._comp_cls), bt2._SinkComponentClass))
+        self.assertTrue(issubclass(type(self._comp_cls), bt2._SinkComponentClassConst))
 
     def tearDown(self):
         del self._py_comp_cls
This page took 0.024355 seconds and 4 git commands to generate.