mirror of
https://github.com/aclist/dztui.git
synced 2026-08-30 03:37:00 +02:00
chore: add test for reverse bitmask
This commit is contained in:
parent
5c07a77b63
commit
37e0b84c69
@ -45,6 +45,12 @@ def test_wrap_exe(dummy_app) -> None:
|
||||
assert s.shortcuts["shortcuts"]["0"]["Exe"][-1] == '"'
|
||||
|
||||
|
||||
def test_convert_signed_to_unsigned(dummy_app) -> None:
|
||||
s = Shortcuts(Path(""))
|
||||
s.add_shortcut(*dummy_app.values())
|
||||
assert s.find_appname_by_unsigned_id(3683462515) == "TEST APP"
|
||||
|
||||
|
||||
def test_add_shortcut(dummy_app) -> None:
|
||||
s = Shortcuts(Path(""))
|
||||
s.add_shortcut(*dummy_app.values())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user