File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff 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
140140def 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
150151def 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
159162def test_service_systemd_tmp_mount (host ):
160163 tmp = host .service ("tmp.mount" )
161164 assert tmp .exists
You can’t perform that action at this time.
0 commit comments