Skip to content

Commit

Permalink
fix tests init
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahAlidoost committed Oct 30, 2024
1 parent 0f70d77 commit 8b6070f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
] # fmt: skip


# Generate test data if it does not exist
# it assumes that the recipe
# zampy/recipes/STEMMUS_SCOPE_input.yml has been ran.
config = config_loader()
download_dir = Path(config["working_directory"]) / "download"

if not data_folder.exists():
data_folder.mkdir(parents=True, exist_ok=True)
generate_test_data.generate_test_data(download_dir, data_folder)
# This should be run locally!
# Generate test data if it does not exist
# it assumes that the recipe
# zampy/recipes/STEMMUS_SCOPE_input.yml has been ran.
config = config_loader()
download_dir = Path(config["working_directory"]) / "download"
data_folder.mkdir(parents=True, exist_ok=True)
generate_test_data.generate_test_data(download_dir, data_folder)

0 comments on commit 8b6070f

Please sign in to comment.