Skip to content

Commit b10770a

Browse files
committed
Fix fake-cache return
1 parent eb6f675 commit b10770a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_usb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2135,7 +2135,7 @@ def fake_cache(dummy: object, setting: str) -> str | bool | None: # noqa: PLR09
21352135
if setting == pw_scan.CACHE_SCAN_CONFIG_RESET_TIMER:
21362136
return "10"
21372137
if setting == pw_scan.CACHE_SCAN_CONFIG_SENSITIVITY:
2138-
return "MEDIUM"
2138+
return 2
21392139
if setting == pw_scan.CACHE_SCAN_CONFIG_DAYLIGHT_MODE:
21402140
return False
21412141
if setting == pw_scan.CACHE_SCAN_CONFIG_DIRTY:

0 commit comments

Comments
 (0)