def test_trim(self): self.assertJson(query.trim("chlorine"), '{"trim":"chlorine"}')
def test_trim(self): self.assertEqual(self._q(query.trim(" A ")), "A") self.assertEqual(self._q(query.trim("\t\nABC DEF\t\n ")), "ABC DEF")
def test_trim(self): self.assertJson(query.trim("chlorine"), '{"trim":"chlorine"}')
def test_trim(self): self.assertEqual(self._q(query.trim(" A ")), "A") self.assertEqual(self._q(query.trim("\t\nABC DEF\t\n ")), "ABC DEF")