Skip to content

Commit

Permalink
Fix check for secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekalfen committed Oct 25, 2023
1 parent 00394ac commit 1c7c061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def secrets():

path = extra_test_rom_dir / Path("secrets")
with FileLock(path.with_suffix(".lock")) as lock:
if not os.path.isfile(path):
if not os.path.isdir(path):
fernet = Fernet(os.environ["PYTEST_SECRETS_KEY"].encode())

test_data = url_open("https://pyboy.dk/mirror/test_data.encrypted")
Expand Down

0 comments on commit 1c7c061

Please sign in to comment.