@@ -121,12 +121,18 @@ def test_install_821_uefi(self, iso_remaster, create_vms):
121
121
host_vm .export ("test_install_821_uefi-vm1.xva" , "zstd" ,
122
122
use_cache = CACHE_IMPORTED_VM )
123
123
124
- @pytest .mark .dependency (depends = ["TestNested::test_install_821_uefi" ])
124
+
125
+ @pytest .mark .parametrize ("base" , [
126
+ pytest .param ("install" , marks = pytest .mark .dependency (
127
+ depends = ["TestNested::test_install_821_uefi" ])),
128
+ pytest .param ("upgrade" , marks = pytest .mark .dependency (
129
+ depends = ["TestNested::test_upgrade_821_uefi" ])),
130
+ ])
125
131
@pytest .mark .vm_definitions (
126
132
dict (name = "vm 1" ,
127
133
image = "test_install_821_uefi-vm1.xva"
128
134
))
129
- def test_firstboot_821_uefi (self , create_vms ):
135
+ def test_firstboot_821_uefi (self , create_vms , base ):
130
136
host_vm = create_vms [0 ]
131
137
vif = host_vm .vifs ()[0 ]
132
138
mac_address = vif .param_get ('MAC' )
@@ -225,7 +231,7 @@ def test_firstboot_821_uefi(self, create_vms):
225
231
host_vm .export ("test_firstboot_821_uefi-vm1.xva" , "zstd" ,
226
232
use_cache = CACHE_IMPORTED_VM )
227
233
228
- @pytest .mark .dependency (depends = ["TestNested::test_firstboot_821_uefi" ])
234
+ @pytest .mark .dependency (depends = ["TestNested::test_firstboot_821_uefi[install] " ])
229
235
@pytest .mark .vm_definitions (
230
236
dict (name = "vm 1" ,
231
237
image = "test_firstboot_821_uefi-vm1.xva"
0 commit comments