Merge pull request #296 from aplanas/master
Adjust StagingAPI constructor calling.
This commit is contained in:
commit
9e00ba4e37
@ -375,7 +375,7 @@ def do_check_source(self, subcmd, opts, *args):
|
|||||||
self._devel_projects = {}
|
self._devel_projects = {}
|
||||||
opts.apiurl = self.get_api_url()
|
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':
|
if len(args) and args[0] == 'skip':
|
||||||
for id_ in args[1:]:
|
for id_ in args[1:]:
|
||||||
|
@ -38,7 +38,7 @@ class ToTestBase(object):
|
|||||||
def __init__(self, project, dryrun):
|
def __init__(self, project, dryrun):
|
||||||
self.project = project
|
self.project = project
|
||||||
self.dryrun = dryrun
|
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)
|
self.known_failures = self.known_failures_from_dashboard(project)
|
||||||
|
|
||||||
def openqa_version(self):
|
def openqa_version(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user