Skip to content

Commit

Permalink
Add logging for test_raw_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
MaGering committed Jun 3, 2024
1 parent 22970da commit 2602880
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_pipeline_raw_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
import snakemake
import shutil
from oemof_b3.tools.testing_pipeline import get_repo_path, pipeline_file_output_test
from oemof_b3.config import config

logger = config.add_snake_logger("data_processing")

# Delete data from test run of pipeline if True otherwise False
delete_switch = True
Expand All @@ -29,6 +31,7 @@

def test_raw_dir():
absolute_path = os.path.join(os.getcwd(), raw_dir)
logger.info(f"The absolute path used in this test is: {absolute_path}.")

# Check if raw dir already exists
if os.path.isdir(absolute_path):
Expand Down

0 comments on commit 2602880

Please sign in to comment.