mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-26 09:14:34 +03:00
fixup! Add failing test
[ci skip]
This commit is contained in:
parent
09f62e11a0
commit
17bf312408
|
@ -524,7 +524,7 @@ class TestRelationalFieldMappings(TestCase):
|
||||||
""")
|
""")
|
||||||
self.assertEqual(unicode_repr(TestSerializer()), expected)
|
self.assertEqual(unicode_repr(TestSerializer()), expected)
|
||||||
|
|
||||||
def test_nested_hyperlinked_relations_star(self):
|
def test_nested_hyperlinked_relations_starred_source(self):
|
||||||
class TestSerializer(serializers.HyperlinkedModelSerializer):
|
class TestSerializer(serializers.HyperlinkedModelSerializer):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = RelationalModel
|
model = RelationalModel
|
||||||
|
@ -553,7 +553,6 @@ class TestRelationalFieldMappings(TestCase):
|
||||||
name = CharField(max_length=100)
|
name = CharField(max_length=100)
|
||||||
""")
|
""")
|
||||||
self.maxDiff = None
|
self.maxDiff = None
|
||||||
|
|
||||||
self.assertEqual(unicode_repr(TestSerializer()), expected)
|
self.assertEqual(unicode_repr(TestSerializer()), expected)
|
||||||
|
|
||||||
def test_nested_unique_together_relations(self):
|
def test_nested_unique_together_relations(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user