aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-02 15:18:20 -0400
committerCraig Jennings <c@cjennings.net>2026-07-02 15:18:20 -0400
commitc659ab9b24716736390429a733e45c4ea688c13f (patch)
treec3434e9b8ea41b872d646f201da566180e4212e5 /scripts
parent85858db9957509fc5dae11ae8640de261d5d1658 (diff)
downloadarchsetup-c659ab9b24716736390429a733e45c4ea688c13f.tar.gz
archsetup-c659ab9b24716736390429a733e45c4ea688c13f.zip
feat(bluetooth): retire blueman, assert the swap in VM tests
I dropped blueman from the desktop_environment bluetooth loop (bluez + bluez-utils stay) and added the VM assertions: bluetooth stack installed, blueman absent as the retirement regression guard. No new sudoers rule was needed for bt-priv, since the existing blanket grant already covers systemctl restart bluetooth.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/testing/tests/test_packages.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/testing/tests/test_packages.py b/scripts/testing/tests/test_packages.py
index f237088..f0d8ff2 100644
--- a/scripts/testing/tests/test_packages.py
+++ b/scripts/testing/tests/test_packages.py
@@ -58,3 +58,19 @@ def test_git_installed(host):
@pytest.mark.parametrize("tool", DEV_TOOLS)
def test_dev_tool_present(host, tool):
assert host.exists(tool), "dev tool %s missing from PATH" % tool
+
+
+BLUETOOTH_STACK = ["bluez", "bluez-utils"]
+
+
+@pytest.mark.attribution("archsetup")
+@pytest.mark.parametrize("pkg", BLUETOOTH_STACK)
+def test_bluetooth_stack_installed(host, pkg):
+ assert host.package(pkg).is_installed
+
+
+@pytest.mark.attribution("archsetup")
+def test_blueman_not_installed(host):
+ # blueman was retired 2026-07-02 in favor of the dotfiles bt panel;
+ # its reappearance means the desktop_environment step regressed.
+ assert not host.package("blueman").is_installed