mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-30 05:24:00 +03:00
Add TODO
This commit is contained in:
parent
031a656667
commit
0176fab475
|
@ -253,6 +253,7 @@ class HyperlinkedForeignKeyTests(TestCase):
|
||||||
]
|
]
|
||||||
self.assertEquals(serializer.data, expected)
|
self.assertEquals(serializer.data, expected)
|
||||||
|
|
||||||
|
# TODO: Check this - is this a bug or is the test incorrect?
|
||||||
# def test_reverse_foreign_key_create(self):
|
# def test_reverse_foreign_key_create(self):
|
||||||
# data = {'url': '/foreignkeytarget/3/', 'name': u'target-3', 'sources': ['/foreignkeysource/1/', '/foreignkeysource/3/']}
|
# data = {'url': '/foreignkeytarget/3/', 'name': u'target-3', 'sources': ['/foreignkeysource/1/', '/foreignkeysource/3/']}
|
||||||
# serializer = ForeignKeyTargetSerializer(data=data)
|
# serializer = ForeignKeyTargetSerializer(data=data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user