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