Fix urlpatterns in test

This commit is contained in:
Tom Christie 2015-08-28 10:44:49 +01:00
parent a5ddd90df0
commit 6fa534f214

View File

@ -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):