mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Update errant test comment
This commit is contained in:
parent
46eea97380
commit
8e5003a1f6
|
@ -66,7 +66,8 @@ class NestedOneToOneTests(TestCase):
|
||||||
self.assertEquals(serializer.data, data)
|
self.assertEquals(serializer.data, data)
|
||||||
self.assertEqual(obj.name, u'target-4')
|
self.assertEqual(obj.name, u'target-4')
|
||||||
|
|
||||||
# Ensure (source 4, target 4) is added, and everything else is as expected
|
# Ensure (target 4, target_source 4, source 4) are added, and
|
||||||
|
# everything else is as expected.
|
||||||
queryset = OneToOneTarget.objects.all()
|
queryset = OneToOneTarget.objects.all()
|
||||||
serializer = OneToOneTargetSerializer(queryset)
|
serializer = OneToOneTargetSerializer(queryset)
|
||||||
expected = [
|
expected = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user