summaryrefslogtreecommitdiff
path: root/python/subunit/tests
diff options
context:
space:
mode:
authorBenji York <benji.york@canonical.com>2012-04-26 09:17:40 -0400
committerBenji York <benji.york@canonical.com>2012-04-26 09:17:40 -0400
commitfbbb209140f69bf77f7b1d4c33abfb55f4488e3b (patch)
treedce3a663bca2b4ff09a3202e9a005eecb4f10cc4 /python/subunit/tests
parentf153351eccf6965e3a9e873a7a485136bd69fc0d (diff)
downloadsubunit-fbbb209140f69bf77f7b1d4c33abfb55f4488e3b.tar.gz
make time pass through filtered tests
Diffstat (limited to 'python/subunit/tests')
-rw-r--r--python/subunit/tests/test_subunit_filter.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/subunit/tests/test_subunit_filter.py b/python/subunit/tests/test_subunit_filter.py
index 0675484..123be08 100644
--- a/python/subunit/tests/test_subunit_filter.py
+++ b/python/subunit/tests/test_subunit_filter.py
@@ -179,10 +179,11 @@ xfail todo
result_filter = TestResultFilter(result)
self.run_tests(result_filter, subunit_stream)
foo = subunit.RemotedTestCase('foo')
- self.assertEquals(
+ self.maxDiff = None
+ self.assertSequenceEqual(
[('time', date_a),
- ('startTest', foo),
('time', date_b),
+ ('startTest', foo),
('addError', foo, {}),
('stopTest', foo),
('time', date_c)], result._events)