Skip to content

Commit

Permalink
slight change in tests to accommodate for win path
Browse files Browse the repository at this point in the history
  • Loading branch information
euri10 committed Nov 9, 2023
1 parent ff30684 commit b297cae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_keystore.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def test_nonexisting_keystore_path():

def test_str(tmp_path):
ks = jce.KeyStore(tmp_path)
assert str(ks) == f"<KeyStore dbpath={tmp_path.as_posix()}/jce.db>"
path = tmp_path / "jce.db"
assert str(ks) == f"<KeyStore dbpath={path.as_posix()}>"


def test_no_such_key():
Expand Down

0 comments on commit b297cae

Please sign in to comment.