def test_uppercase(self): self.assertJson(query.uppercase('guns for hands'), '{"uppercase":"guns for hands"}')
def test_uppercase(self): self.assertEqual(self._q(query.uppercase("a")), "A") self.assertEqual(self._q(query.uppercase("abc def")), "ABC DEF")