@@ -24,26 +24,21 @@ def teardown_method(self):
2424 self .hc_api .delete_project ()
2525
2626 @pytest .mark .parametrize (
27- "version,registry,expected " ,
27+ "version,registry" ,
2828 [
2929 (
3030 "3.12-minimal-ubi10" ,
3131 "registry.redhat.io/ubi10/python-312-minimal:latest" ,
32- True ,
3332 ),
34- ("3.12-ubi9" , "registry.redhat.io/ubi9/python-312:latest" , True ),
35- ("3.12-ubi8" , "registry.redhat.io/ubi8/python-312:latest" , True ),
36- ("3.11-ubi9" , "registry.redhat.io/ubi9/python-311:latest" , True ),
37- ("3.11-ubi8" , "registry.redhat.io/ubi8/python-311:latest" , True ),
38- ("3.9-ubi9" , "registry.redhat.io/ubi9/python-39:latest" , True ),
39- ("3.9-ubi8" , "registry.redhat.io/ubi8/python-39:latest" , False ),
40- ("3.6-ubi8" , "registry.redhat.io/ubi8/python-36:latest" , True ),
33+ ("3.12-ubi9" , "registry.redhat.io/ubi9/python-312:latest" ),
34+ ("3.12-ubi8" , "registry.redhat.io/ubi8/python-312:latest" ),
35+ ("3.11-ubi9" , "registry.redhat.io/ubi9/python-311:latest" ),
36+ ("3.11-ubi8" , "registry.redhat.io/ubi8/python-311:latest" ),
37+ ("3.9-ubi9" , "registry.redhat.io/ubi9/python-39:latest" ),
38+ ("3.6-ubi8" , "registry.redhat.io/ubi8/python-36:latest" ),
4139 ],
4240 )
43- def test_package_imagestream (self , version , registry , expected ):
41+ def test_package_imagestream (self , version , registry ):
4442 assert self .hc_api .helm_package ()
4543 assert self .hc_api .helm_installation ()
46- assert (
47- self .hc_api .check_imagestreams (version = version , registry = registry )
48- == expected
49- )
44+ assert self .hc_api .check_imagestreams (version = version , registry = registry )
0 commit comments