You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But before, you have to ensure to have the proper environment for the tests with:
$ invoke tests.prepare
$ invoke tests.createdb
Those steps, automatically called when using tox, will download the nightly release of Odoo and install it as a package, so tests can be run against it (and that's also why it is important to use a virtualenv!)
When calling pytest, you have to define the OPENERP_SERVER environment variable with the configuration file for the Odoo database that will be used for the tests.
@simahawk I builded the env with python3 and first used the tox command and then tryed to use these steps. The two invoke commands are working but I didn't ran pytest
Impossible to run tests locally and travis is read for the same reason:
No idea what 'tests.prepare_config' is!
https://travis-ci.org/camptocamp/anthem#L522
/cc @leemannd
The text was updated successfully, but these errors were encountered: