def test_ltrim(self): self.assertJson(query.ltrim(" car radio "), '{"ltrim":" car radio "}')
def test_ltrim(self): self.assertEqual(self._q(query.ltrim("")), "") self.assertEqual(self._q(query.ltrim(" A")), "A") self.assertEqual(self._q(query.ltrim("\t\n\t\n Apple")), 'Apple') self.assertEqual(self._q(query.ltrim(" A B C")), "A B C")