X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Flib%2Fctf-ir%2Ftest_trace.py;h=116f7ba240749e8934eee96d6bef31ea1b615840;hb=44c440bc5fe8219cc17d1b786d91fd83c4c9860a;hp=14e94ec1666f129d91bfd1100ef50926609b2020;hpb=1805e0b4b91b339a131f2463e241b706cad5a56f;p=babeltrace.git diff --git a/tests/lib/ctf-ir/test_trace.py b/tests/lib/ctf-ir/test_trace.py index 14e94ec1..116f7ba2 100644 --- a/tests/lib/ctf-ir/test_trace.py +++ b/tests/lib/ctf-ir/test_trace.py @@ -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)