@@ -124,32 +124,28 @@ def test_install_uefi(self, request, version, iso_remaster, create_vms):
124
124
host_vm .export (xva_name , "zstd" , use_cache = CACHE_IMPORTED_VM )
125
125
126
126
127
+ @pytest .mark .usefixtures ("xcpng_chained" )
127
128
@pytest .mark .parametrize ("mode" , [
128
129
pytest .param ("821.1" , marks = [
129
- pytest .mark .dependency (depends = ["TestNested::test_install_uefi[821.1]" ]),
130
- pytest .mark .vm_definitions (
131
- dict (name = "vm 1" , image = "install/test::Nested::install_uefi[821.1]" )),
130
+ pytest .mark .continuation_of (dict (vm = "vm 1" ,
131
+ test = "TestNested::test_install_uefi[821.1]" )),
132
132
]),
133
133
pytest .param ("821.1_821.1" , marks = [
134
- pytest .mark .dependency (depends = ["TestNested::test_upgrade_uefi[821.1-821.1]" ]),
135
- pytest .mark .vm_definitions (
136
- dict (name = "vm 1" , image = "install/test::Nested::upgrade_uefi[821.1-821.1]" )),
134
+ pytest .mark .continuation_of (dict (vm = "vm 1" ,
135
+ test = "TestNested::test_upgrade_uefi[821.1-821.1]" )),
137
136
]),
138
137
pytest .param ("821.1_83b2" , marks = [
139
- pytest .mark .dependency (depends = ["TestNested::test_upgrade_uefi[821.1-83b2]" ]),
140
- pytest .mark .vm_definitions (
141
- dict (name = "vm 1" , image = "install/test::Nested::upgrade_uefi[821.1-83b2]" )),
138
+ pytest .mark .continuation_of (dict (vm = "vm 1" ,
139
+ test = "TestNested::test_upgrade_uefi[821.1-83b2]" )),
142
140
]),
143
141
pytest .param ("83b2" , marks = [
144
- pytest .mark .dependency (depends = ["TestNested::test_install_uefi[83b2]" ]),
145
- pytest .mark .vm_definitions (
146
- dict (name = "vm 1" , image = "install/test::Nested::install_uefi[83b2]" )),
142
+ pytest .mark .continuation_of (dict (vm = "vm 1" ,
143
+ test = "TestNested::test_install_uefi[83b2]" )),
147
144
]),
148
145
# 8.3b2 disabled the upgrade from 8.3
149
146
#pytest.param("83b2_83b2", marks=[
150
- # pytest.mark.dependency(depends=["TestNested::test_upgrade_uefi[83b2-83b2]"]),
151
- # pytest.mark.vm_definitions(
152
- # dict(name="vm 1", image="install/test::Nested::upgrade_uefi[83b2-83b2]")),
147
+ # pytest.mark.continuation_of(dict(vm="vm 1",
148
+ # test="TestNested::test_upgrade_uefi[83b2-83b2]")),
153
149
#]),
154
150
])
155
151
def test_firstboot_uefi (self , request , create_vms , mode ):
@@ -251,22 +247,20 @@ def test_firstboot_uefi(self, request, create_vms, mode):
251
247
host_vm .host .ssh (["rm -f" , xva_name ])
252
248
host_vm .export (xva_name , "zstd" , use_cache = CACHE_IMPORTED_VM )
253
249
250
+ @pytest .mark .usefixtures ("xcpng_chained" )
254
251
@pytest .mark .parametrize (("orig_version" , "version" ), [
255
252
pytest .param ("821.1" , "821.1" , marks = [
256
- pytest .mark .dependency (depends = ["TestNested::test_firstboot_uefi[821.1]" ]),
257
- pytest .mark .vm_definitions (
258
- dict (name = "vm 1" , image = "install/test::Nested::firstboot_uefi[821.1]" )),
253
+ pytest .mark .continuation_of (dict (vm = "vm 1" ,
254
+ test = "TestNested::test_firstboot_uefi[821.1]" )),
259
255
]),
260
256
pytest .param ("821.1" , "83b2" , marks = [
261
- pytest .mark .dependency (depends = ["TestNested::test_firstboot_uefi[821.1]" ]),
262
- pytest .mark .vm_definitions (
263
- dict (name = "vm 1" , image = "install/test::Nested::firstboot_uefi[821.1]" )),
257
+ pytest .mark .continuation_of (dict (vm = "vm 1" ,
258
+ test = "TestNested::test_firstboot_uefi[821.1]" )),
264
259
]),
265
260
# 8.3b2 disabled the upgrade from 8.3
266
261
#pytest.param("83b2", "83b2", marks=[
267
- # pytest.mark.dependency(depends=["TestNested::test_firstboot_uefi[83b2]"]),
268
- # pytest.mark.vm_definitions(
269
- # dict(name="vm 1", image="install/test::Nested::firstboot_uefi[83b2]")),
262
+ # pytest.mark.continuation_of(dict(vm="vm 1",
263
+ # test="TestNested::test_firstboot_uefi[83b2]")),
270
264
#]),
271
265
])
272
266
@pytest .mark .answerfile (
0 commit comments