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