We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d022f96 commit 8d32d5cCopy full SHA for 8d32d5c
tests/conftest.py
@@ -152,11 +152,11 @@ def pytest_addoption(parser):
152
def env_info(pytestconfig):
153
no_cache = bool(pytestconfig.getoption("no_cache", False))
154
odoo_ver = pytestconfig.getoption("odoo_version")
155
- client_type = pytestconfig.getoption("client_type", _get_preferred_client_type())
+ client_type = pytestconfig.getoption("client_type") or _get_preferred_client_type()
156
odoo_port = "8080" if odoo_ver == "6.0" else "8069"
157
158
return {
159
- "ip": "127.0.0.1", # if client_type == 'podman' else "10.99.2.38",
+ "ip": "127.0.0.1",
160
"ports": {
161
"odoo": odoo_port,
162
},
0 commit comments