Commit 8ed9ddfa authored by Łukasz Nowak's avatar Łukasz Nowak

Test fix.

If data are posted twice with the same coordinates only one data set document
is begin created, not two. This was changed in 33a5a2be
parent 33a5a2be
...@@ -255,4 +255,4 @@ class TestShaDir(ShaDirMixin, ERP5TypeTestCase): ...@@ -255,4 +255,4 @@ class TestShaDir(ShaDirMixin, ERP5TypeTestCase):
self.assertEquals(3, len(self.portal.document_module)) self.assertEquals(3, len(self.portal.document_module))
result, document3 = self.getInformation() result, document3 = self.getInformation()
self.assertEquals(2, len(json.loads(document3))) self.assertEquals(1, len(json.loads(document3)))
67 68
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment