add doc
This commit is contained in:
parent
9e58cf4cf9
commit
c4ef08cf64
11
DEVELOP.md
11
DEVELOP.md
|
|
@ -53,6 +53,17 @@ This will run tests only for the current ``python3.X`` version.
|
||||||
```
|
```
|
||||||
poetry run pytest --cov odoo_openupgrade_wizard --verbosity=2 --exitfirst
|
poetry run pytest --cov odoo_openupgrade_wizard --verbosity=2 --exitfirst
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Debug Test
|
||||||
|
```
|
||||||
|
poetry run pytest --verbosity=2 --exitfirst --cov odoo_openupgrade_wizard\
|
||||||
|
tests/cli_01_init_test.py\
|
||||||
|
tests/cli_02_get_code_test.py\
|
||||||
|
tests/cli_03_docker_build_test.py\
|
||||||
|
tests/cli_04_run_test.py\
|
||||||
|
tests/cli_06_execute_script_sql_test.py
|
||||||
|
```
|
||||||
|
|
||||||
## Via Tox
|
## Via Tox
|
||||||
|
|
||||||
This will run tests for all the python versions put in the ``tox.ini`` folder.
|
This will run tests for all the python versions put in the ``tox.ini`` folder.
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ def get_postgres_container(ctx):
|
||||||
# Postgres container doesn't seems available immediately.
|
# Postgres container doesn't seems available immediately.
|
||||||
# check in odoo container, i remember that there is
|
# check in odoo container, i remember that there is
|
||||||
# some script to do the job
|
# some script to do the job
|
||||||
time.sleep(3)
|
time.sleep(5)
|
||||||
return container
|
return container
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user