Skip to content

Commit

Permalink
[ADD] Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edescalona committed Dec 24, 2024
1 parent b696fa2 commit f8ed613
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions website_recaptcha_v2_form/tests/test_controller_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,3 @@ def test_recaptcha_enabled_reset_password_login_signup(self, requests_mock):
if free_sign_up == "b2b":
response_signup = self.test_url_open(url="/web/signup", data=data)
self.assertEqual(response_signup.status_code, 404)

Check warning on line 62 in website_recaptcha_v2_form/tests/test_controller_form.py

View check run for this annotation

Codecov / codecov/patch

website_recaptcha_v2_form/tests/test_controller_form.py#L61-L62

Added lines #L61 - L62 were not covered by tests

free_sign_up = self.env["ir.config_parameter"].set_param(
"auth_signup.invitation_scope", "b2c"
)
if free_sign_up == "b2c":
response_signup = self.test_url_open(url="/web/signup", data=data)
self.assertEqual(response_signup.status_code, 200)

0 comments on commit f8ed613

Please sign in to comment.