Commit 6fa534f2 by Tom Christie

Fix urlpatterns in test

parent a5ddd90d
......@@ -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):
......
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