Swallow time: commands when seen.
[third_party/subunit] / python / subunit / __init__.py
index b2071761840ba8c1c4f94fc72ce7c5cb12ae43b2..84d94289038cb8632d8acc838bc1a52e01ad907f 100644 (file)
@@ -213,8 +213,11 @@ class TestProtocolServer(object):
                     self._addSkip(offset, line)
                 elif cmd in ('success', 'successful'):
                     self._addSuccess(offset, line)
-                elif cmd in ('tags'):
+                elif cmd in ('tags',):
                     self._handleTags(offset, line)
+                elif cmd in ('time',):
+                    # Accept it, but do not do anything with it yet.
+                    pass
                 elif cmd == 'xfail':
                     self._addExpectedFail(offset, line)
                 else: