From ae7948c919a14b3c6502b3de2b6ccc43fb35fb89 Mon Sep 17 00:00:00 2001 From: Johan Berggren Date: Fri, 14 Nov 2014 10:58:15 +0100 Subject: [PATCH] Fix test --- timesketch/apps/api/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesketch/apps/api/tests.py b/timesketch/apps/api/tests.py index e849fe5b5a..ebe3dfb4e6 100644 --- a/timesketch/apps/api/tests.py +++ b/timesketch/apps/api/tests.py @@ -231,7 +231,7 @@ def test_get_resources(self): response = self._test_get_resources( request_data=self.request_get_data, expected_keys=self.expected_get_keys) - self.assertTrue("+0000" in response['objects'][0]['created']) + self.assertTrue(response['objects'][0]['created'].endswith("+0000")) def test_post_resources(self): self._test_post_resources(