diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_utils.py | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index e63af0166..de841b1a0 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -717,6 +717,10 @@ class TestUtil(unittest.TestCase):          d = json.loads(stripped)          self.assertEqual(d, {'status': 'success'}) +        stripped = strip_jsonp('({"status": "success"});') +        d = json.loads(stripped) +        self.assertEqual(d, {'status': 'success'}) +      def test_uppercase_escape(self):          self.assertEqual(uppercase_escape('aä'), 'aä')          self.assertEqual(uppercase_escape('\\U0001d550'), '𝕐')  | 
