mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-02 20:54:42 +03:00
Unicode literal fix
This commit is contained in:
parent
f505b2e440
commit
15fa42b647
|
@ -801,6 +801,7 @@ class RelatedTraversalTest(TestCase):
|
|||
obj = ClassWithQuerysetMethod()
|
||||
serializer = QuerysetMethodSerializer(obj)
|
||||
self.assertEquals(serializer.data, {'blogposts': [u'BlogPost object']})
|
||||
self.assertEquals(serializer.data, {'blogposts': ['BlogPost object']})
|
||||
|
||||
|
||||
class SerializerMethodFieldTests(TestCase):
|
||||
|
|
Loading…
Reference in New Issue
Block a user