Update tests/test_utils_get_adj.py
Run CI Tests / test (push) Successful in 53s

This commit is contained in:
2025-07-31 22:07:22 +02:00
parent cbabc9aae4
commit 172342c0ae
+3 -3
View File
@@ -54,7 +54,7 @@ def real_adjustables():
def test_get_adj_success(real_adjustables):
a1, _, _ = real_adjustables
assert get_adj("brightness") is a1
unregister_adj([a1, a1, a3])
unregister_adj([a1])
def test_get_adj_not_found(capfd):
@@ -66,7 +66,7 @@ def test_ensure_adjs_mixed(real_adjustables):
a1, a2, a3 = real_adjustables
result = ensure_adjs(["contrast", a1, "debug_internal"])
assert result == (a2, a1, a3)
unregister_adj([a1, a1, a3])
unregister_adj([a1, a2, a3])
def test_get_adjs_filter(real_adjustables):
@@ -75,4 +75,4 @@ def test_get_adjs_filter(real_adjustables):
assert public == {"brightness": a1, "contrast": a2}
all_ = get_adjs(include_internal=True)
assert all_ == {"brightness": a1, "contrast": a2, "debug_internal": a3}
unregister_adj([a1, a1, a3])
unregister_adj([a1, a2, a3])