mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 05:04:31 +03:00
Fix up test url model now filename has changed
This commit is contained in:
parent
83feda6a69
commit
37acea5240
|
@ -78,7 +78,7 @@ class NullableForeignKeySourceSerializer(serializers.HyperlinkedModelSerializer)
|
||||||
# TODO: Add test that .data cannot be accessed prior to .is_valid
|
# TODO: Add test that .data cannot be accessed prior to .is_valid
|
||||||
|
|
||||||
class HyperlinkedManyToManyTests(TestCase):
|
class HyperlinkedManyToManyTests(TestCase):
|
||||||
urls = 'rest_framework.tests.hyperlink_relations'
|
urls = 'rest_framework.tests.relations_hyperlink'
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
for idx in range(1, 4):
|
for idx in range(1, 4):
|
||||||
|
@ -186,7 +186,7 @@ class HyperlinkedManyToManyTests(TestCase):
|
||||||
|
|
||||||
|
|
||||||
class HyperlinkedForeignKeyTests(TestCase):
|
class HyperlinkedForeignKeyTests(TestCase):
|
||||||
urls = 'rest_framework.tests.hyperlink_relations'
|
urls = 'rest_framework.tests.relations_hyperlink'
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
target = ForeignKeyTarget(name='target-1')
|
target = ForeignKeyTarget(name='target-1')
|
||||||
|
@ -243,7 +243,7 @@ class HyperlinkedForeignKeyTests(TestCase):
|
||||||
|
|
||||||
|
|
||||||
class HyperlinkedNullableForeignKeyTests(TestCase):
|
class HyperlinkedNullableForeignKeyTests(TestCase):
|
||||||
urls = 'rest_framework.tests.hyperlink_relations'
|
urls = 'rest_framework.tests.relations_hyperlink'
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
target = ForeignKeyTarget(name='target-1')
|
target = ForeignKeyTarget(name='target-1')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user