mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-01 14:04:02 +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()
|
BasicModel.objects.all()
|
||||||
raise Http404
|
raise Http404
|
||||||
|
|
||||||
return patterns(
|
return (
|
||||||
'',
|
url(r'^$', NonAtomicAPIExceptionView.as_view()),
|
||||||
url(r'^$', NonAtomicAPIExceptionView.as_view())
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user