mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-23 06:48:51 +02:00
- tests.test_prdiff: disabled the usage of keyrings when running the cli
Alternatively we could also disable the keyring usage in the config file.
This commit is contained in:
@@ -62,7 +62,7 @@ class TestProjectDiff(OscTestCase):
|
||||
def _run_prdiff(self, *args):
|
||||
"""Runs osc prdiff, returning captured STDOUT as a string."""
|
||||
cli = osc.commandline.Osc()
|
||||
argv = ['osc', 'prdiff']
|
||||
argv = ['osc', '--no-keyring', '--no-gnome-keyring', 'prdiff']
|
||||
argv.extend(args)
|
||||
cli.main(argv=argv)
|
||||
return sys.stdout.getvalue()
|
||||
|
Reference in New Issue
Block a user