Skip to content

Commit

Permalink
Tiny path fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sultur committed Aug 30, 2023
1 parent d9b39cf commit 29e56a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_read_json_api_key():

# Test reading a key from a JSON file
assert read_json_api_key(
"dummy_json_api_key", folder=GREYNIR_ROOT_DIR / "tests/files"
"dummy_json_api_key", folder=GREYNIR_ROOT_DIR / "tests" / "files"
) == {"key": 123456789}


Expand All @@ -152,7 +152,7 @@ def test_read_txt_api_key():
# Test reading a key from a .txt file
assert (
read_txt_api_key(
"dummy_greynir_api_key", folder=GREYNIR_ROOT_DIR / "tests/files"
"dummy_greynir_api_key", folder=GREYNIR_ROOT_DIR / "tests" / "files"
)
== "123456789"
)

0 comments on commit 29e56a3

Please sign in to comment.