Commit 52f31632 by dgrtwo

Update tests to be consistent with commit de1be9a2

parent de1be9a2
...@@ -208,8 +208,8 @@ class TestTypes(unittest.TestCase): ...@@ -208,8 +208,8 @@ class TestTypes(unittest.TestCase):
self.assert_(type(native_date) is dict, self.assert_(type(native_date) is dict,
'Could not serialize date into dict') 'Could not serialize date into dict')
iso_date = native_date.get('iso') iso_date = native_date.get('iso')
self.assert_(iso_date == self.now.isoformat(), now = '{0}Z'.format(self.now.isoformat()[:-3])
'Expected %s. Got %s' % (self.now.isoformat(), iso_date)) self.assert_(iso_date == now, 'Expected %s. Got %s' % (now, iso_date))
class TestQuery(unittest.TestCase): class TestQuery(unittest.TestCase):
......
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