mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +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)
|
||||
|
||||
expected = {
|
||||
'title': 'Test blog post',
|
||||
'title': u'Test blog post',
|
||||
'comments': [{
|
||||
'text': 'I hate this blog post',
|
||||
'text': u'I love this blog post',
|
||||
'post_owner': {
|
||||
"name": "django",
|
||||
"name": u"django",
|
||||
"age": None
|
||||
}
|
||||
}]
|
||||
|
|
Loading…
Reference in New Issue
Block a user