Skip to content

Commit 37a4dff

Browse files
F
1 parent 88a0aa1 commit 37a4dff

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

test/test_modules.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def test_service_systemd_mask(host, docker_image):
136136
host.run("systemctl unmask ssh")
137137
assert not ssh.is_masked
138138

139-
139+
@all_images
140140
def test_service_systemd_ssh(host, docker_image):
141141
name = "sshd" if docker_image == "rockylinux9" else "ssh"
142142
ssh = host.service(name)
@@ -146,16 +146,19 @@ def test_service_systemd_ssh(host, docker_image):
146146
assert ssh.is_running
147147

148148

149-
@pytest.mark.testinfra_hosts("docker://rockylinux9")
149+
# @pytest.mark.testinfra_hosts("docker://rockylinux9")
150+
@all_images
150151
def test_service_systemd_root_mount(host):
151152
root = host.service("-.mount") # systemd unit for mounting /
152153
assert root.exists
153-
assert root.is_valid
154-
assert root.is_enabled
155-
assert root.is_running
154+
raise AssertionError(host.run("systemctl status -- -.mount"))
155+
# assert root.is_valid
156+
# assert root.is_enabled
157+
# assert root.is_running
156158

157159

158-
@pytest.mark.testinfra_hosts("docker://rockylinux9")
160+
# @pytest.mark.testinfra_hosts("docker://rockylinux9")
161+
@all_images
159162
def test_service_systemd_tmp_mount(host):
160163
tmp = host.service("tmp.mount")
161164
assert tmp.exists

0 commit comments

Comments
 (0)