Skip to content

Commit

Permalink
Fixed absolute path in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-tfn committed Dec 13, 2023
1 parent 78c9357 commit 10feeeb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/gravity_model/test_multi_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

@pytest.fixture(name="data_dir", scope="session")
def fixture_data_dir():
return Path(
r"C:\Users\IsaacScott\Documents\Github\caf.distribute\tests\gravity_model\data\multi_area_unit"
)
return Path(__file__).parent.resolve() / "data" / "multi_area_unit"


@pytest.fixture(name="mock_dir", scope="session")
Expand Down

0 comments on commit 10feeeb

Please sign in to comment.