added inline explanation of why the 2 new batch exception tests should pass

This commit is contained in:
Jon Haddad
2013-12-11 15:13:46 -08:00
parent 3d351e475d
commit 70e55fd0e6

View File

@@ -145,6 +145,7 @@ class BatchQueryTests(BaseCassEngTestCase):
pass
obj = BatchQueryLogModel.objects(k=1)
# should be 1 because the batch should execute
self.assertEqual(1, len(obj))
def test_batch_execute_on_exception_skips_if_not_specified(self):
@@ -163,4 +164,6 @@ class BatchQueryTests(BaseCassEngTestCase):
pass
obj = BatchQueryLogModel.objects(k=2)
# should be 0 because the batch should not execute
self.assertEqual(0, len(obj))