Commit 6fa534f2 by Tom Christie

Fix urlpatterns in test

parent a5ddd90d
...@@ -135,9 +135,8 @@ class NonAtomicDBTransactionAPIExceptionTests(TransactionTestCase): ...@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment