Skip to content

Commit 19abc72

Browse files
committed
Fix test_network_cache() assert_called_with
1 parent 9273952 commit 19abc72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_usb.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,10 +1739,10 @@ async def makedirs(cache_dir: str, exist_ok: bool) -> None:
17391739
)
17401740
mock_file_stream.writelines.assert_called_with(
17411741
[
1742-
"0123456789ABCDEF;NodeType.CIRCLE_PLUS\n",
1743-
"FEDCBA9876543210;NodeType.CIRCLE\n",
1744-
"1298347650AFBECD;NodeType.SCAN\n",
1745-
"1234ABCD4321FEDC;NodeType.STEALTH\n",
1742+
"0123456789ABCDEF;1\n",
1743+
"FEDCBA9876543210;2\n",
1744+
"1298347650AFBECD;6\n",
1745+
"1234ABCD4321FEDC;9\n",
17461746
]
17471747
)
17481748
assert pw_nw_cache.nodetypes == {

0 commit comments

Comments
 (0)