-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] event: improve mail scheduler tests
Make them easier to improve and modify * use a dedicated setup (allowing to add specific unit tests on test data); * move initial asserts into its own unit test (to keep other tests shorter); * use available mocks for freezetime and sql.now; Then add tests for registration emails, to check what happens for communication scheduled right at registration time. Task-3084943: Event: Improve communication scheduler scalability Part-of: odoo#155717 Co-authored-by: Stéphane Debauche <std@odoo.com>
- Loading branch information
1 parent
544808d
commit 80765a0
Showing
2 changed files
with
121 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters