pytest-odoo 0.4.3
pip install pytest-odoo==0.4.3
Released:
py.test plugin to run Odoo tests
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Affero General Public License v3 (AGPLv3)
- Author: Guewen Baconnier
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
pytest plugin to run Odoo tests
Usage
install via:
pip install pytest-odoo
usage:
pytest -s --odoo-database=test --odoo-log-level=debug_sql
The custom options are:
--odoo-database: name of the database to test
--odoo-log-level: log level as expected by odoo. As time of writing: info, debug_rpc, warn, test, critical, debug_sql, error, debug, debug_rpc_answer. The default is critical to have a clean output.
Alternatively, you can use the OPENERP_SERVER environment variable using an odoo configuration file, containing at least the database option with the name of the database to test:
export OPENERP_SERVER=/path/to/odoo/config.cfg pytest ...
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Affero General Public License v3 (AGPLv3)
- Author: Guewen Baconnier
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pytest-odoo-0.4.3.linux-x86_64.tar.gz
.
File metadata
- Download URL: pytest-odoo-0.4.3.linux-x86_64.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.8.1 pkginfo/1.4.1 requests/2.11.1 setuptools/20.7.0 requests-toolbelt/0.7.0 clint/0.5.1 CPython/2.7.12 Linux/4.15.0-32-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d434ba88bd5b47ccd17d8a1dabf9c6deaba5a5c90d92f8476a2e48c2a6b5b330 |
|
MD5 | 799994c0163aae6c0d71888b3dec929c |
|
BLAKE2b-256 | 4f626c2154008377197ec154dd44e9d3514db5d67c6cf62f979812e517dc77e3 |
File details
Details for the file pytest_odoo-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: pytest_odoo-0.4.3-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.8.1 pkginfo/1.4.1 requests/2.11.1 setuptools/20.7.0 requests-toolbelt/0.7.0 clint/0.5.1 CPython/2.7.12 Linux/4.15.0-32-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0366127c135344c8dfd86e017124c3f20bab108474270f4428fec466789fa25b |
|
MD5 | 5ded2eb6e6a285e5f5774a51db779255 |
|
BLAKE2b-256 | 766090f716e7f2903720319d902710af3b7d4640877180db902c1c9edf53156d |
File details
Details for the file pytest_odoo-0.4.3-py2-none-any.whl
.
File metadata
- Download URL: pytest_odoo-0.4.3-py2-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.8.1 pkginfo/1.4.1 requests/2.11.1 setuptools/20.7.0 requests-toolbelt/0.7.0 clint/0.5.1 CPython/2.7.12 Linux/4.15.0-32-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abac951d64d0a2d92f495aaeeb51016206435da84ef90e432953a1bb1fd6429c |
|
MD5 | 03d59758564fdc2cf1e8ef32effe96a1 |
|
BLAKE2b-256 | 0f9e9c2ee525bdae392ef3f06bc1da854bb01d4602b49af3aa0d5838ef3a090f |