Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63d9d20a authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

fix coverage on functional tests

parent 607906cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -60,7 +60,7 @@ functional_tests() {
}
}


coverage() {
coverage() {
    sed -i 's!/usr/local/lib/python3.7/site-packages/searx[^/]*/searx!'$SEARX_DIR'!g' "$COV_DIR"/func
    sed -i 's!/usr/local/lib/python3.7/site-packages/searx!'$SEARX_DIR'!g' "$COV_DIR"/func
    coverage3 combine coverage/func coverage/unit
    coverage3 combine coverage/func coverage/unit
    coverage3 report
    coverage3 report
}
}