autodisc: don't accept NULL values for `support-info` query `group` key
[babeltrace.git] / tests / bindings / python / bt2 / test_packet.py
index 59fa2b451695183843f3f521bc91ef1f47fdfe45..aad07c4441b3d3e8b2706177976f053216812db8 100644 (file)
@@ -16,7 +16,6 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
 
-from collections import OrderedDict
 import unittest
 from utils import run_in_component_init
 
@@ -91,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.026336 seconds and 4 git commands to generate.