summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unittests/framework/backends/test_json.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/framework/backends/test_json.py b/unittests/framework/backends/test_json.py
index e6574a629..0c49aff8c 100644
--- a/unittests/framework/backends/test_json.py
+++ b/unittests/framework/backends/test_json.py
@@ -112,7 +112,8 @@ class TestJSONBackend(object):
test.initialize(shared.INITIAL_METADATA)
with test.write_test(self.name) as t:
t(self.result)
- test.finalize()
+ test.finalize(
+ {'time_elapsed': results.TimeAttribute(start=0.0, end=1.0)})
def test_metadata_removed(self, tmpdir):
assert not tmpdir.join('metadata.json').check()