aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/tests/test_services.py
blob: dc89e74bac1b9d6423f04d1c7b62e890a251235a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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