Example #1
0
 def test_batch_then_timeout(self):
     b = query.BatchQuery()
     m = self.model.batch(b)
     with self.assertRaises(AssertionError):
         m.timeout(0.5)
Example #2
0
 def test_timeout_then_batch(self):
     b = query.BatchQuery()
     m = self.model.timeout(None)
     with self.assertRaises(AssertionError):
         m.batch(b)