Wednesday, April 22, 2020
2 changes · master
Code cleanup and technical improvements
This update reduces repeated diagnostic output during automated web tests when background request threads are still finishing. It keeps useful troubleshooting information while making test logs cleaner and easier to review.
Original PR description
When some requests are still handled by threads during an HttpCase test the stack is dumped each time we try to join the thread. With this commit, the stack is dumped only after 10 unsuccessful join.
This update reorganizes mail-related test files and test models so future maintenance is easier. It moves tests into more appropriate mail add-ons, renames some test concepts for clarity, and tidies notification-related code without changing business features.
Original PR description
PURPOSE Have a cleaner test_mail addons SPECIFICATIONS Keep only mail-related tests, move odoobot in test mail full, send "update notification" tests in mail (specific to mail). Merge some test files to lessen number of files, perform light file renaming. Split test mail models file to prepare some cleaning in those models and tests. Keep only mail-related tests, move odoobot in test mail full, send "update notification" tests in mail (specific to mail). Merge some test files to lessen number of files, perform light file renaming. Split test mail models file to prepare some cleaning in those models and tests. LINKS Prepares Task ID 2238597 (clean notification models) Prepares Task ID 2083854 (improve mass mailing technical flows) PR #49891