Merge pull request #296 from aplanas/master

Adjust StagingAPI constructor calling.
This commit is contained in:
Stephan Kulow 2015-02-20 13:07:15 +01:00
commit 9e00ba4e37
2 changed files with 2 additions and 2 deletions

View File

@ -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:]:

View File

@ -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):