# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1642768043 -3600 # Fri Jan 21 13:27:23 2022 +0100 # Node ID 9de0f87075a693b76b55f8cbcb3cc56499dc8760 # Parent c8a2cc941c5e6247da964d14514c855a3fbf2bd1 📠also use python3-coverage in odoo 15 diff --git a/run_tests b/run_tests --- a/run_tests +++ b/run_tests @@ -39,7 +39,7 @@ loglevel="--log-level=test" fi logfile=$(tempfile --suffix=.log) -if [ "$ODOO_TYPE" = "odoo11" ] || [ "$ODOO_TYPE" = "odoo13" ]; +if [ "$ODOO_TYPE" = "odoo11" ] || [ "$ODOO_TYPE" = "odoo13" ] || [ "$ODOO_TYPE" = "odoo15" ]; then export PRE_ODOO_BIN="python3-coverage run --omit=__manifest__.py --source=$project_home " fi