From ff8dd9e613c7a8eac9040f7317a04bb44594699c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Mon, 1 Sep 2014 17:29:19 +0200 Subject: [PATCH] Fix some errors --- tests/integration/test_auth_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_auth_api.py b/tests/integration/test_auth_api.py index 1774205a..574c8d59 100644 --- a/tests/integration/test_auth_api.py +++ b/tests/integration/test_auth_api.py @@ -37,7 +37,8 @@ def register_form(): "type": "public"} -def test_respond_201_if_domain_allows_public_registration(client, register_form): +def test_respond_201_if_domain_allows_public_registration(client, settings, register_form): + settings.PUBLIC_REGISTER_ENABLED = True response = client.post(reverse("auth-register"), register_form) assert response.status_code == 201