mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Fix urlpatterns in test
This commit is contained in:
parent
a5ddd90df0
commit
6fa534f214
|
@ -135,9 +135,8 @@ class NonAtomicDBTransactionAPIExceptionTests(TransactionTestCase):
|
|||
BasicModel.objects.all()
|
||||
raise Http404
|
||||
|
||||
return patterns(
|
||||
'',
|
||||
url(r'^$', NonAtomicAPIExceptionView.as_view())
|
||||
return (
|
||||
url(r'^$', NonAtomicAPIExceptionView.as_view()),
|
||||
)
|
||||
|
||||
def setUp(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user