mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
fix test response
This commit is contained in:
parent
e311b763e1
commit
1c1bd3fc5d
|
@ -588,11 +588,11 @@ class RelatedTraversalTest(TestCase):
|
||||||
serializer = BlogPostSerializer(instance=post)
|
serializer = BlogPostSerializer(instance=post)
|
||||||
|
|
||||||
expected = {
|
expected = {
|
||||||
'title': 'Test blog post',
|
'title': u'Test blog post',
|
||||||
'comments': [{
|
'comments': [{
|
||||||
'text': 'I hate this blog post',
|
'text': u'I love this blog post',
|
||||||
'post_owner': {
|
'post_owner': {
|
||||||
"name": "django",
|
"name": u"django",
|
||||||
"age": None
|
"age": None
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user