mirror of
https://github.com/odoo/runbot.git
synced 2025-03-16 07:55:45 +07:00
![]() A lot of things have to be mocked during runbot tests, as a consequence, a lot of patch decorators accumulate in a big stack uppon some tests methods. Also, a lot of mocks are used multiple times among tests. With this commit, a new RunbotClass is added that comes with patches ready to be started. A start_patcher helper method is available to start a patch and add the appropriate stop in a cleanup. Also, when a build is created in the tests, the _get_params method is always called, resulting in an annoying git warning. With this commit, a create_build method is added on the test class, that way the _get_params is always mocked when a build is created. |
||
---|---|---|
forwardport | ||
runbot | ||
runbot_cla | ||
runbot_merge | ||
.gitignore | ||
conftest.py | ||
README.md | ||
requirements.txt |
Odoo Runbot Repository
This repository contains the source code of Odoo testing bot runbot.odoo.com and related addons.
Runbot
The runbot/
directory holds the main runbot Odoo addon.
Runbot CLA addon
The runbot_cla/
directory contains an Odoo addon that checks CLA.