8000 Remove duplicate test in `tests/test_utils.py` (#6736) · coderanger/django-rest-framework@60bcc93 · GitHub
[go: up one dir, main page]

Skip to content

Commit 60bcc93

Browse files
hramezanitomchristie
authored andcommitted
Remove duplicate test in tests/test_utils.py (encode#6736)
1 parent 9ac9c1b commit 60bcc93

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/test_utils.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,6 @@ class UrlsRemoveQueryParamTests(TestCase):
235235
"""
236236
Tests the remove_query_param functionality.
237237
"""
238-
def test_valid_unicode_preserved(self):
239-
q = '/?q=%E6%9F%A5%E8%AF%A2'
240-
new_key = 'page'
241-
new_value = 2
242-
value = '%E6%9F%A5%E8%AF%A2'
243-
244-
assert new_key in replace_query_param(q, new_key, new_value)
245-
assert value in replace_query_param(q, new_key, new_value)
246-
247238
def test_valid_unicode_removed(self):
248239
q = '/?page=2345&q=%E6%9F%A5%E8%AF%A2'
249240
key = 'page'

0 commit comments

Comments
 (0)
0