From 76908bb54d3aaeb964339b874761556351b5a290 Mon Sep 17 00:00:00 2001 From: edescalona Date: Mon, 23 Dec 2024 21:15:53 -0500 Subject: [PATCH] [ADD] Tests --- website_recaptcha_v2_form/tests/test_controller_form.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website_recaptcha_v2_form/tests/test_controller_form.py b/website_recaptcha_v2_form/tests/test_controller_form.py index 5a19361d55..fa6bab1135 100644 --- a/website_recaptcha_v2_form/tests/test_controller_form.py +++ b/website_recaptcha_v2_form/tests/test_controller_form.py @@ -34,6 +34,9 @@ def test_recaptcha_enabled_form(self): ) self.assertEqual(response_recaptcha_not_enable.status_code, 200) + response_recaptcha_not_enable = self.test_url_open(data={}) + self.assertEqual(response_recaptcha_not_enable.status_code, 200) + @mock.patch(imp_requests) def test_recaptcha_enabled_reset_password_login_signup(self, requests_mock): new_test_user(self.env, login="test_user_form", password="Password!1")