Skip to content

Commit d09e3ea

Browse files
committed
Do not run FIPS tests for minimal container.
Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 803e341 commit d09e3ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_container_basics.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
from doctest import debug
2-
31
import pytest
42

53
from pathlib import Path
64

75
from container_ci_suite.container_lib import ContainerTestLib, PodmanCLIWrapper
86
from container_ci_suite.utils import get_file_content
97

10-
from conftest import VARS
8+
from conftest import VARS, skip_for_minimal
119

1210
test_fips = VARS.TEST_DIR / "test-fips"
1311

@@ -84,6 +82,7 @@ def teardown_method(self):
8482
self.s2i_fips.cleanup()
8583

8684
def test_nodejs_fips_mode(self):
85+
skip_for_minimal()
8786
if VARS.OS == "rhel8":
8887
pytest.skip("Do not execute on RHEL8")
8988
is_fips_enabled = 0
@@ -106,6 +105,7 @@ def test_nodejs_fips_mode(self):
106105
assert fips_mode == 0
107106

108107
def test_run_fips_app_application(self):
108+
skip_for_minimal()
109109
is_fips_enabled = 0
110110
fips_enabled_file = Path("/proc/sys/crypto/fips_enabled")
111111
if fips_enabled_file.exists():

0 commit comments

Comments
 (0)