diff --git a/do.py b/do.py index a4defa8d3..80ac9a2d2 100644 --- a/do.py +++ b/do.py @@ -116,11 +116,11 @@ def test(card="novus100g"): ) def generate_allure_report(): - if os.path.exists("$HOME/allure-report"): - run(["mkdir -p allure-results/history"]) - run(["cp -r $HOME/allure-report/history/* allure-results/history/"]) - run(["rm -rf $HOME/allure-report"]) - + + run(["mkdir -p allure-results/history"]) + run(["cp -r $HOME/allure-report/history/* allure-results/history/"]) + run(["rm -rf $HOME/allure-report"]) + run( [