def test_lt(self):
     self.assertJson(query.lt(1), '{"lt":1}')
     self.assertJson(query.lt(1, 2, 3), '{"lt":[1,2,3]}')
     self.assertJson(query.lt([1, 2, 3]), '{"lt":[1,2,3]}')
示例#2
0
 def test_lt(self):
     self.assertTrue(self._q(query.lt(1, 2)))