aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/tests/test_services.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/testing/tests/test_services.py')
-rw-r--r--scripts/testing/tests/test_services.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/testing/tests/test_services.py b/scripts/testing/tests/test_services.py
new file mode 100644
index 0000000..dc89e74
--- /dev/null
+++ b/scripts/testing/tests/test_services.py
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+"""Post-install checks: essential services archsetup enables.
+
+Parity port of validate_firewall from validation.sh (more to follow in P2).
+"""
+
+import pytest
+
+
+@pytest.mark.smoke
+@pytest.mark.attribution("archsetup")
+def test_ufw_firewall_enabled(host):
+ assert host.service("ufw").is_enabled