Skip to content

Commit

Permalink
fix: relative path issue
Browse files Browse the repository at this point in the history
couldn't get pytest to run from the command line
  • Loading branch information
lalewis1 committed Sep 25, 2024
1 parent 7156ed3 commit b638edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ogc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_store() -> Store:
# Create a new pyoxigraph Store
store = Store()

file = Path("../test_data/ogc_features.ttl")
file = Path(__file__).parent.parent / "test_data/ogc_features.ttl"
store.load(file.read_bytes(), "text/turtle")

return store
Expand Down

0 comments on commit b638edd

Please sign in to comment.