Private
Public Access
Add PEARL ZX-5816 fingerbot support
Codacy Security Scan / Codacy static analysis (push) Waiting to run
Codacy Coverage / Tests + coverage (push) Waiting to run
gitleaks / scan (push) Waiting to run
Lint / ruff (Python 3.14) (push) Waiting to run
Codacy Security Scan / Codacy static analysis (push) Waiting to run
Codacy Coverage / Tests + coverage (push) Waiting to run
gitleaks / scan (push) Waiting to run
Lint / ruff (Python 3.14) (push) Waiting to run
This commit is contained in:
1 parent
538476a19c
commit
0007f26b48
2 files changed
+13
No files matched your search
@@ -20,6 +20,14 @@ def test_fingerbot_plus_szjqr_map():
|
||||
assert dps.mode == 8
|
||||
|
||||
|
||||
def test_pearl_zx5816_map():
|
||||
dps = dp_map_for("knp8dybt")
|
||||
assert dps.click == 1
|
||||
assert dps.switch == 1
|
||||
assert dps.mode == 2
|
||||
assert dps.hold_time == 3
|
||||
|
||||
|
||||
def test_unknown_product_raises():
|
||||
with pytest.raises(ValueError):
|
||||
dp_map_for("nope")
|
||||
Reference in new issue
Block a user