diff options
Diffstat (limited to 'tests/test_systrace.py')
-rw-r--r-- | tests/test_systrace.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_systrace.py b/tests/test_systrace.py index 667bf2c..5f8899b 100644 --- a/tests/test_systrace.py +++ b/tests/test_systrace.py @@ -93,6 +93,16 @@ class TestSystrace(utils_tests.SetupDirectory): self.assertEquals(dfr['__line'].iloc[1], 6) self.assertEquals(dfr['__line'].iloc[-1], 2505) + def test_parse_tracing_mark_write_events(self): + """Check that tracing_mark_write events are parsed without errors""" + events = ['tracing_mark_write'] + try: + trace = trappy.SysTrace("trace.html", events=events) + except TypeError as e: + self.fail("tracing_mark_write parsing failed with {} exception"\ + .format(e.message)) + + class TestLegacySystrace(utils_tests.SetupDirectory): def __init__(self, *args, **kwargs): |