mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
chore: add test for reverse bitmask
This commit is contained in:
1 parent
5c07a77b63
commit
37e0b84c69
1 file changed
+6
@@ -45,6 +45,12 @@ def test_wrap_exe(dummy_app) -> None:
|
|||||||
assert s.shortcuts["shortcuts"]["0"]["Exe"][-1] == '"'
|
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:
|
def test_add_shortcut(dummy_app) -> None:
|
||||||
s = Shortcuts(Path(""))
|
s = Shortcuts(Path(""))
|
||||||
s.add_shortcut(*dummy_app.values())
|
s.add_shortcut(*dummy_app.values())
|
||||||
|
|||||||
Reference in new issue
Block a user