bt2: rename `_Field.field_class` -> `_Field.cls`
[babeltrace.git] / tests / bindings / python / bt2 / test_packet.py
index 250ac466c55dc4aa07aecadb3a6cd78fe9bdcaab..aad07c4441b3d3e8b2706177976f053216812db8 100644 (file)
@@ -90,7 +90,7 @@ class PacketTestCase(unittest.TestCase):
 
     def test_context_field(self):
         packet, stream, pc_fc = self._create_packet(with_pc=True)
-        self.assertEqual(packet.context_field.field_class.addr, pc_fc.addr)
+        self.assertEqual(packet.context_field.cls.addr, pc_fc.addr)
 
     def test_no_context_field(self):
         packet, _, _ = self._create_packet(with_pc=False)
This page took 0.024258 seconds and 4 git commands to generate.