Commit 1c1bd3fc by Pavel Savchenko

fix test response

parent e311b763
...@@ -588,11 +588,11 @@ class RelatedTraversalTest(TestCase): ...@@ -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
} }
}] }]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment