summaryrefslogtreecommitdiff
path: root/virtManager/virtmanager.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2020-08-29 13:07:19 -0400
committerCole Robinson <crobinso@redhat.com>2020-08-29 15:04:49 -0400
commitb0294a1bc6ade54574dbbe351097cce1a7342983 (patch)
tree2d3c30fdb4bbfbed0084ed84ca77a45c75518e1b /virtManager/virtmanager.py
parent7769d9a1e428fe2f6e073256463e241a84964927 (diff)
downloadvirt-manager-b0294a1bc6ade54574dbbe351097cce1a7342983.tar.gz
testmock: Split apart the first-run option
Break it into disable-libguestfs, fake-systemd-success, and firstrun-uri suboptions, and adjust using code to match Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtManager/virtmanager.py')
-rwxr-xr-xvirtManager/virtmanager.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/virtManager/virtmanager.py b/virtManager/virtmanager.py
index 5a52d999..ee7d4d89 100755
--- a/virtManager/virtmanager.py
+++ b/virtManager/virtmanager.py
@@ -131,11 +131,6 @@ def parse_commandline():
parser.add_argument("--trace-libvirt", choices=["all", "mainloop"],
help=argparse.SUPPRESS)
- # Don't load any connections on startup to test first run
- # PackageKit integration
- parser.add_argument("--test-first-run",
- help=argparse.SUPPRESS, action="store_true")
-
# comma separated string of options to tweak app behavior,
# for manual and automated testing config
parser.add_argument("--test-options", action='append',
@@ -184,13 +179,10 @@ def main():
mainloop=(options.trace_libvirt == "mainloop"),
regex=None)
- CLITestOptions = CLITestOptionsClass(options.test_options,
- options.test_first_run)
+ CLITestOptions = CLITestOptionsClass(options.test_options)
# With F27 gnome+wayland we need to set these before GTK import
os.environ["GSETTINGS_SCHEMA_DIR"] = BuildConfig.gsettings_dir
- if CLITestOptions.first_run:
- os.environ["GSETTINGS_BACKEND"] = "memory"
# Now we've got basic environment up & running we can fork
do_drop_stdio = False