mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-06 21:40:13 +03:00
wraped string into singleline
This commit is contained in:
parent
5515b9dabd
commit
934978dc12
|
@ -28,8 +28,8 @@ class InitializeViewSetsTestCase(TestCase):
|
||||||
try:
|
try:
|
||||||
BasicViewSet.as_view()
|
BasicViewSet.as_view()
|
||||||
except TypeError as e:
|
except TypeError as e:
|
||||||
assert str(e) == "The `actions` argument must be provided "
|
assert str(e) == ("The `actions` argument must be provided "
|
||||||
"when calling `.as_view()` on a ViewSet. "
|
"when calling `.as_view()` on a ViewSet. "
|
||||||
"For example `.as_view({'get': 'list'})`"
|
"For example `.as_view({'get': 'list'})`")
|
||||||
else:
|
else:
|
||||||
self.fail("actions must not be empty.")
|
self.fail("actions must not be empty.")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user