mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-03 12:00:12 +03:00
Removed unicode (u) prefix
This commit is contained in:
parent
09c2d7fe38
commit
8843193ac6
|
@ -617,18 +617,18 @@ class TestFilterBackendAppliedToViews(TestCase):
|
||||||
with self.assertNumQueries(0):
|
with self.assertNumQueries(0):
|
||||||
response = view(request).render()
|
response = view(request).render()
|
||||||
expected = {
|
expected = {
|
||||||
u'name': u'Dynamic Serializer',
|
'name': 'Dynamic Serializer',
|
||||||
u'description': u'',
|
'description': '',
|
||||||
u'renders': [u'text/html', u'application/json'],
|
'renders': ['text/html', 'application/json'],
|
||||||
u'parses': [u'application/json', u'application/x-www-form-urlencoded', u'multipart/form-data'],
|
'parses': ['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'],
|
||||||
u'actions': {
|
'actions': {
|
||||||
u'POST': {
|
'POST': {
|
||||||
u'field_b': {
|
'field_b': {
|
||||||
u'type': u'string',
|
'type': 'string',
|
||||||
u'required': True,
|
'required': True,
|
||||||
u'read_only': False,
|
'read_only': False,
|
||||||
u'label': u'field b',
|
'label': 'field b',
|
||||||
u'max_length': 100
|
'max_length': 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user