Skip to content

Commit

Permalink
test_wifi: path instead of str
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Aug 7, 2024
1 parent 8709c17 commit 94f712d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/tests/opentrons/system/test_wifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def test_eap_check_option() -> None:
)


async def test_list_keys(wifi_keys_tempdir: str) -> None:
async def test_list_keys(wifi_keys_tempdir: Path) -> None:
dummy_names = ["ad12d1df199bc912", "cbdda8124128cf", "812410990c5412"]
for dn in dummy_names:
os.mkdir(os.path.join(wifi_keys_tempdir, dn))
Expand All @@ -177,7 +177,7 @@ async def test_list_keys(wifi_keys_tempdir: str) -> None:
raise KeyError(dn)


async def test_key_lifecycle(wifi_keys_tempdir: str) -> None:
async def test_key_lifecycle(wifi_keys_tempdir: Path) -> None:
with tempfile.TemporaryDirectory() as source_td:
keys = list(wifi.list_keys())
assert keys == []
Expand Down

0 comments on commit 94f712d

Please sign in to comment.