aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2016-03-07 18:18:39 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2016-03-07 18:18:39 +0000
commit416e23442c484b09bfda2704fdea73a148fc6a67 (patch)
treeb0bbcb6b86b682671f7c38f78df3d8fda5795e31 /tests
parentefdf0daef51c9d2d5461876c4408318160cba338 (diff)
downloadtrappy-416e23442c484b09bfda2704fdea73a148fc6a67.tar.gz
tests: fix typo in test_special_fields
timestap -> timestamp. It was working because a previous timestamp was present.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_base.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_base.py b/tests/test_base.py
index 446b010..5fa3d78 100644
--- a/tests/test_base.py
+++ b/tests/test_base.py
@@ -129,11 +129,11 @@ class TestBase(utils_tests.SetupDirectory):
self.assertEquals(set(dfr.columns), expected_columns)
for idx in range(len(events)):
- timestap = str( dfr.index[idx]+float(events.keys()[0]))
+ timestamp = str( dfr.index[idx]+float(events.keys()[0]))
self.assertTrue(timestamp in events)
- self.assertEquals(dfr["__comm"].iloc[idx], events[timestap]['task'])
- self.assertEquals(dfr["__pid"].iloc[idx], events[timestap]['pid'])
- self.assertEquals(dfr["__cpu"].iloc[idx], events[timestap]['cpu'])
+ self.assertEquals(dfr["__comm"].iloc[idx], events[timestamp]['task'])
+ self.assertEquals(dfr["__pid"].iloc[idx], events[timestamp]['pid'])
+ self.assertEquals(dfr["__cpu"].iloc[idx], events[timestamp]['cpu'])
trappy.unregister_dynamic_ftrace(ftrace_parser)