mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Remove duplicate test in tests/test_utils.py
(#6736)
This commit is contained in:
parent
9ac9c1b2ea
commit
60bcc93202
|
@ -235,15 +235,6 @@ class UrlsRemoveQueryParamTests(TestCase):
|
|||
"""
|
||||
Tests the remove_query_param functionality.
|
||||
"""
|
||||
def test_valid_unicode_preserved(self):
|
||||
q = '/?q=%E6%9F%A5%E8%AF%A2'
|
||||
new_key = 'page'
|
||||
new_value = 2
|
||||
value = '%E6%9F%A5%E8%AF%A2'
|
||||
|
||||
assert new_key in replace_query_param(q, new_key, new_value)
|
||||
assert value in replace_query_param(q, new_key, new_value)
|
||||
|
||||
def test_valid_unicode_removed(self):
|
||||
q = '/?page=2345&q=%E6%9F%A5%E8%AF%A2'
|
||||
key = 'page'
|
||||
|
|
Loading…
Reference in New Issue
Block a user