lib: msg. iter. inactivity message has a simple CS, not a default CS
[babeltrace.git] / tests / bindings / python / bt2 / test_message.py
index 012c851f0ea5e64f95bbb72e47dff9fc5e5b9426..7c26a935536e5e9b2fe3a9bec9c6fa922328c66d 100644 (file)
@@ -215,10 +215,9 @@ class AllMessagesTestCase(unittest.TestCase):
             elif i == 3:
                 self.assertIs(type(msg), bt2._MessageIteratorInactivityMessageConst)
                 self.assertIs(
-                    type(msg.default_clock_snapshot),
-                    bt2_clock_snapshot._ClockSnapshotConst,
+                    type(msg.clock_snapshot), bt2_clock_snapshot._ClockSnapshotConst
                 )
-                self.assertEqual(msg.default_clock_snapshot.value, i)
+                self.assertEqual(msg.clock_snapshot.value, i)
             elif i == 4:
                 self.assertIs(type(msg), bt2._DiscardedEventsMessageConst)
                 self.assertIs(type(msg.stream), bt2_stream._StreamConst)
This page took 0.023328 seconds and 4 git commands to generate.