mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 08:59:54 +03:00
Rename duplicate test
This commit is contained in:
parent
10cc637f90
commit
763bbfffea
|
@ -192,7 +192,7 @@ class TestHyperlinkedRelatedField(APISimpleTestCase):
|
||||||
instance = self.field.to_internal_value('http://example.org/example/baz%41%42%43qux/')
|
instance = self.field.to_internal_value('http://example.org/example/baz%41%42%43qux/')
|
||||||
assert instance is self.queryset.items[1]
|
assert instance is self.queryset.items[1]
|
||||||
|
|
||||||
def test_hyperlinked_related_lookup_url_encoded_exists(self):
|
def test_hyperlinked_related_lookup_url_space_encoded_exists(self):
|
||||||
instance = self.field.to_internal_value('http://example.org/example/bazABC%20qux/')
|
instance = self.field.to_internal_value('http://example.org/example/bazABC%20qux/')
|
||||||
assert instance is self.queryset.items[2]
|
assert instance is self.queryset.items[2]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user