Skip to content

Commit

Permalink
fixup! Test SMTP settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yajo committed Jan 24, 2018
1 parent 6ca284e commit dd7a4a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,7 @@ def test_settings(self):
# SMTP settings work
("./custom/scripts/test_smtp_settings.py",),
)
for sub_env in matrix(odoo={"8.0"}):
self.compose_test(
folder, sub_env,
# Odoo 8.0 needs a preexisting DB
("createdb",), *commands)
# Odoo 8.0 has no shell
for sub_env in matrix(odoo_skip={"8.0"}):
self.compose_test(folder, sub_env, *commands)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
server.search([]).unlink() # No servers, send from settings
mail = server.build_email(
False, # It should get the "from" from config
"somebody@example.com", "subject", "body")
"[email protected], two@example.com", "subject", "body")
server.send_email(mail)

0 comments on commit dd7a4a6

Please sign in to comment.