Make API CTF-agnostic
[babeltrace.git] / tests / lib / ctf-ir / test_trace.py
index 14e94ec1666f129d91bfd1100ef50926609b2020..116f7ba240749e8934eee96d6bef31ea1b615840 100644 (file)
@@ -42,7 +42,7 @@ class TraceTestCase(unittest.TestCase):
         phft = bt2.StructureFieldType()
         ft = bt2.IntegerFieldType(32, mapped_clock_class=cc)
         tag_ft = bt2.EnumerationFieldType(size=32)
-        tag_ft.append_mapping('heille', 12)
+        tag_ft.add_mapping('heille', 12)
         variant_ft = bt2.VariantFieldType('tag', tag_ft)
         variant_ft.append_field('heille', ft)
         phft.append_field('tag', tag_ft)
This page took 0.025572 seconds and 4 git commands to generate.