mirror of
https://github.com/odoo/runbot.git
synced 2025-04-13 22:00:55 +07:00

This is the preparation of an attempt to make these tests work with both a local github mock (in-memory) and a remote actual github. Move a bunch of fixtures relying on the specific github implementation (and odoo-as-library access) to the "local" plugin, including splitting the "repo" fixture. The specific fixtures will likely have to be adjusted as the remote endpoint is fleshed out.
6 lines
218 B
Python
6 lines
218 B
Python
pytest_plugins = ["local"]
|
|
|
|
def pytest_addoption(parser):
|
|
parser.addoption("--db", action="store", help="Odoo DB to run tests with")
|
|
parser.addoption('--addons-path', action='store', help="Odoo's addons path")
|