Skip to content

Commit

Permalink
Added asserts in setup module to track missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
fjwillemsen committed Apr 26, 2024
1 parent cd48403 commit ff43161
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ def setup_module():
# copy the import run test files to the import run folder
assert import_runs_source_path.exists()
for import_run_file in import_runs_source_path.iterdir():
import_runs_filepaths.append(Path(copyfile(import_run_file, import_runs_path / import_run_file.name)))
destination = Path(import_runs_path / import_run_file.name).resolve()
import_runs_filepaths.append(Path(copyfile(import_run_file, destination)))
assert destination == import_runs_filepaths[-1].resolve()
assert destination.exists() and destination.is_file()


def teardown_module():
Expand Down

0 comments on commit ff43161

Please sign in to comment.