Commit 15fa42b6 by Tom Christie

Unicode literal fix

parent f505b2e4
...@@ -801,6 +801,7 @@ class RelatedTraversalTest(TestCase): ...@@ -801,6 +801,7 @@ class RelatedTraversalTest(TestCase):
obj = ClassWithQuerysetMethod() obj = ClassWithQuerysetMethod()
serializer = QuerysetMethodSerializer(obj) serializer = QuerysetMethodSerializer(obj)
self.assertEquals(serializer.data, {'blogposts': [u'BlogPost object']}) self.assertEquals(serializer.data, {'blogposts': [u'BlogPost object']})
self.assertEquals(serializer.data, {'blogposts': ['BlogPost object']})
class SerializerMethodFieldTests(TestCase): class SerializerMethodFieldTests(TestCase):
......
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