def test_encode(self): # json deals with strings, not bytes. self.assertEqual(json_decode(json_encode(unicode_value)), unicode_value)
def test_encode(self): # json deals with strings, not bytes. self.assertEqual(json.json_decode(json.json_encode(constants.UNICODE_VALUE)), constants.UNICODE_VALUE)