bt2: rename object's own BT class property to `cls`
[babeltrace.git] / tests / bindings / python / bt2 / test_stream.py
index 19874f2392022567a72724a7befe81234dbef2cb..2f6d1f4260a44fb3afc76a0588e06552528eba2f 100644 (file)
@@ -25,7 +25,7 @@ class StreamTestCase(unittest.TestCase):
 
     def test_stream_class(self):
         stream = self._tr.create_stream(self._sc)
-        self.assertEqual(stream.stream_class, self._sc)
+        self.assertEqual(stream.cls, self._sc)
 
     def test_invalid_id(self):
         sc = self._tc.create_stream_class(assigns_automatic_stream_id=False)
This page took 0.023861 seconds and 4 git commands to generate.