Skip to content

Commit

Permalink
Added assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Prathmesh Sambrekar authored and Prathmesh Sambrekar committed Nov 22, 2022
1 parent 389bf35 commit 3b18650
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/cli/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ class args:
with pytest.raises(SystemExit):
report_cmd(args)

assert not is_file(BUILD_REPORT)
# move back the backe-up files since report_cmd() function removes the files BUILD_REPORT and BUILDTEST_REPORTS
shutil.move(backupfile_report.name, BUILD_REPORT)

Expand Down

0 comments on commit 3b18650

Please sign in to comment.