Adjust StagingAPI constructor calling.
This commit is contained in:
parent
714a3afe00
commit
21544171ad
@ -375,7 +375,7 @@ def do_check_source(self, subcmd, opts, *args):
|
||||
self._devel_projects = {}
|
||||
opts.apiurl = self.get_api_url()
|
||||
|
||||
self.api = StagingAPI(opts.apiurl, opts.project)
|
||||
self.api = StagingAPI(opts.apiurl, 'openSUSE:%s' % opts.project)
|
||||
|
||||
if len(args) and args[0] == 'skip':
|
||||
for id_ in args[1:]:
|
||||
|
@ -38,7 +38,7 @@ class ToTestBase(object):
|
||||
def __init__(self, project, dryrun):
|
||||
self.project = project
|
||||
self.dryrun = dryrun
|
||||
self.api = StagingAPI(osc.conf.config['apiurl'], opensuse=project)
|
||||
self.api = StagingAPI(osc.conf.config['apiurl'], project='openSUSE:%s' % project)
|
||||
self.known_failures = self.known_failures_from_dashboard(project)
|
||||
|
||||
def openqa_version(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user