diff options
| author | Tom Christie | 2013-12-23 12:04:17 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-12-23 12:04:17 +0000 |
| commit | feddd16c54c99977bd5503fd09232828c280fc10 (patch) | |
| tree | 8fafb4adf7908d4a3058a2e817da68236e0c8e07 /rest_framework | |
| parent | bed2f08c24a13831590ae5fc8cefbb1bca300a96 (diff) | |
| download | django-rest-framework-feddd16c54c99977bd5503fd09232828c280fc10.tar.bz2 | |
Tweak test style
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/tests/test_templatetags.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/tests/test_templatetags.py b/rest_framework/tests/test_templatetags.py index 7ac90ae6..609a9e08 100644 --- a/rest_framework/tests/test_templatetags.py +++ b/rest_framework/tests/test_templatetags.py @@ -12,8 +12,8 @@ class TemplateTagTests(TestCase): def test_add_query_param_with_non_latin_charactor(self): # Ensure we don't double-escape non-latin characters # that are present in the querystring. - # https://github.com/tomchristie/django-rest-framework/pull/1314 + # See #1314. request = factory.get("/", {'q': '查询'}) json_url = add_query_param(request, "format", "json") self.assertIn("q=%E6%9F%A5%E8%AF%A2", json_url) - self.assertIn("format=json") + self.assertIn("format=json", json_url) |
