Commit 29dc4119 authored by Yusei Tahara's avatar Yusei Tahara

ERP5Type/tests/testPerformance.py: Fix test_getCreationDate. Add a better error message.

parent 4068a366
...@@ -383,5 +383,5 @@ class TestPerformance(TestPerformanceMixin): ...@@ -383,5 +383,5 @@ class TestPerformance(TestPerformanceMixin):
start = time() start = time()
foo.getCreationDate() foo.getCreationDate()
end = time() end = time()
self.assertTrue(end-start < 0.01) self.assertTrue(end-start < 0.01, '%.4f' % (end-start))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment