Skip to content

Commit

Permalink
Update path handling in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
timtroendle committed Jul 3, 2024
1 parent 3b4d116 commit 9936cf6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/scripts/demand/test_national_load.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
from pathlib import Path

import numpy as np
Expand All @@ -15,8 +14,8 @@
filter_outliers,
)

THIS_DIR = Path(os.path.dirname(__file__))
PATH_TO_RESOURCES = THIS_DIR / ".." / ".." / "resources"
THIS_DIR = Path(__file__).parent
PATH_TO_RESOURCES = THIS_DIR.parent.parent / "resources"


class TestLoadHelperFunctions:
Expand Down

0 comments on commit 9936cf6

Please sign in to comment.