def test_rtrim(self): self.assertJson(query.rtrim("mic check "), '{"rtrim":"mic check "}')
def test_rtrim(self): self.assertEqual(self._q(query.rtrim("A\t\n ")), "A") self.assertEqual(self._q(query.rtrim("ABC DE F ")), "ABC DE F")