def test_rtrim(self):
     self.assertJson(query.rtrim("mic check "), '{"rtrim":"mic check "}')
Esempio n. 2
0
 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")