Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove hardcoded error message from test
Marcin Gębala11d9f180cf15
diff --git a/tests/test_registration.py b/tests/test_registration.pyindex 7f3541fed6..0dcc31597e 100644--- a/tests/test_registration.py+++ b/tests/test_registration.py@@ -96,8 +96,7 @@ def test_signup_form_user_exists(customer_user):data = {'email': customer_user.email, 'password': 'password'}form = SignupForm(data)assert not form.is_valid()- error_message = 'User with this Email already exists.'- assert form.errors['email'] == [error_message]+ assert form.errors['email']def test_signup_view_create_user(client, db):