File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,6 @@ def pytest_addoption(parser):
54
54
help = "device-config keys and values for a remote SR. "
55
55
"Example: 'server:10.0.0.1,serverpath:/vms,nfsversion:4.1'." ,
56
56
)
57
- parser .addoption (
58
- "--additional-repos" ,
59
- action = "append" ,
60
- default = [],
61
- help = "Additional repo URLs added to the yum config"
62
- )
63
57
parser .addoption (
64
58
"--second-network" ,
65
59
action = "store" ,
@@ -456,14 +450,6 @@ def pytest_generate_tests(metafunc):
456
450
# For us it means use the defaults.
457
451
configs = [None ]
458
452
metafunc .parametrize ("sr_device_config" , configs , indirect = True , scope = "session" )
459
- if "additional_repos" in metafunc .fixturenames :
460
- repos = metafunc .config .getoption ("additional_repos" )
461
- if not repos :
462
- # No --additional-repos parameter doesn't mean skip the test.
463
- # It's an optional parameter, if missing we must execute additional_repos fixture
464
- # without error.
465
- repos = [None ]
466
- metafunc .parametrize ("additional_repos" , repos , indirect = True , scope = "session" )
467
453
if "second_network" in metafunc .fixturenames :
468
454
second_network = metafunc .config .getoption ("second_network" )
469
455
metafunc .parametrize ("second_network" , [second_network ], indirect = True , scope = "session" )
You can’t perform that action at this time.
0 commit comments