def test_repeat(self):
     self.assertJson(query.repeat("blAH", 5),
                     '{"number":5,"repeat":"blAH"}')
Ejemplo n.º 2
0
 def test_repeat(self):
     self.assertEqual(self._q(query.repeat("A")), "AA")
     self.assertEqual(self._q(query.repeat("ABC", 3)), "ABCABCABC")