Skip to content

Commit cca403e

Browse files
committed
Extend to all node_type formats used
1 parent 1d1d02f commit cca403e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_usb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,9 +1712,9 @@ async def makedirs(cache_dir: str, exist_ok: bool) -> None:
17121712

17131713
# test with valid data
17141714
mock_read_data = [
1715-
"0123456789ABCDEF;NodeType.CIRCLE_PLUS",
1715+
"0123456789ABCDEF;CIRCLE_PLUS",
17161716
"FEDCBA9876543210;NodeType.CIRCLE",
1717-
"1298347650AFBECD;NodeType.SCAN",
1717+
"1298347650AFBECD;6",
17181718
]
17191719
file_chunks_iter = iter(mock_read_data)
17201720
mock_file_stream = MagicMock(readlines=lambda *args, **kwargs: file_chunks_iter)

0 commit comments

Comments
 (0)