mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-06 13:30:12 +03:00
flake
This commit is contained in:
parent
85714ee3d9
commit
8fadf54ff9
|
@ -171,7 +171,7 @@ class TestRecursiveField:
|
|||
one = RecursiveModel(name='one')
|
||||
two = RecursiveModel(name='two', parent=one)
|
||||
|
||||
#serialization
|
||||
# serialization
|
||||
representation = {
|
||||
'name': 'two',
|
||||
'parent': {
|
||||
|
@ -183,6 +183,5 @@ class TestRecursiveField:
|
|||
s = RecursiveModelSerializer(two)
|
||||
assert s.data == representation
|
||||
|
||||
#deserialization
|
||||
# deserialization
|
||||
self.deserialize(RecursiveModelSerializer, representation)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user