fixed timeuuid. again

This commit is contained in:
Jon Haddad
2014-06-19 14:24:58 -07:00
parent ca2d0e27f8
commit 40061ce45c

View File

@@ -19,7 +19,7 @@ class TestQuerySetOperation(BaseCassEngTestCase):
where = WhereClause('time', EqualsOperator(), functions.MaxTimeUUID(now))
where.set_context_id(5)
self.assertEqual(str(where), '"time" = MaxTimeUUID(:5)')
self.assertEqual(str(where), '"time" = MaxTimeUUID(%(5)s)')
ctx = {}
where.update_context(ctx)
self.assertEqual(ctx, {'5': DateTime().to_database(now)})