builder: move ssl arguments to global options
When the builder is used as a command line argument: move the ssl related options to the global parser so they can be used with status and wait too.
This commit is contained in:
parent
2ca0f3b370
commit
1a5977bad2
2 changed files with 6 additions and 6 deletions
|
|
@ -640,6 +640,8 @@ class TestBuilderPlugin(PluginTest):
|
|||
|
||||
args = [
|
||||
"plugins/builder/osbuild.py",
|
||||
"--cert", ", ".join(certs),
|
||||
"--ca", "test/data/example-ca.pem",
|
||||
"compose",
|
||||
"Fedora-Cloud-Image",
|
||||
"33",
|
||||
|
|
@ -647,8 +649,6 @@ class TestBuilderPlugin(PluginTest):
|
|||
"fedora-33",
|
||||
"x86_64",
|
||||
"--repo", "http://download.localhost/pub/linux/$arch",
|
||||
"--cert", ", ".join(certs),
|
||||
"--ca", "test/data/example-ca.pem"
|
||||
]
|
||||
|
||||
with unittest.mock.patch.object(sys, 'argv', args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue