Skip to content

Commit

Permalink
[FIX] auth_signup_verify_email: Use real email address for tests
Browse files Browse the repository at this point in the history
In one part of the CI pipeline, the IANA example domains are not
accepted, getting this message from `email_validator` library:

The domain name example.com does not accept email

So we switch to a real domain for avoiding the problem, using our
famous main OCA list address, which at the end, it's not secret and
won't be disabled in a short future.
  • Loading branch information
pedrobaeza committed Jun 12, 2022
1 parent 225e08a commit 25ba795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_signup_verify_email/tests/test_verify_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def test_bad_email(self):
@mute_logger("odoo.addons.auth_signup_verify_email.controllers.main")
def test_good_email(self):
"""Test acceptance of good emails."""
self.data["login"] = "[email protected]"
self.data["login"] = "[email protected]"
doc = self.html_doc(data=self.data)
self.assertTrue(doc.xpath('//p[@class="alert alert-success"]'))

0 comments on commit 25ba795

Please sign in to comment.