Skip to content

Commit

Permalink
two small fixes for totest 13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Sep 16, 2014
1 parent 98f7ed0 commit a865bc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions osc-totest.py
Expand Up @@ -37,7 +37,7 @@ class ToTestBase(object):

def __init__(self, project):
self.project = project
self.api = StagingAPI(osc.conf.config['apiurl'])
self.api = StagingAPI(osc.conf.config['apiurl'], opensuse=project)

def openqa_version(self):
return self.project
Expand Down Expand Up @@ -339,7 +339,7 @@ def totest(self):
can_release = False # we have to wait

if can_release:
self.tt_update_totest(new_snapshot)
self.update_totest(new_snapshot)


class ToTestFactory(ToTestBase):
Expand Down Expand Up @@ -424,7 +424,7 @@ def current_version(self):
exit(-1)

osc.conf.get_config()
# osc.conf.config['debug'] = True
#osc.conf.config['debug'] = True

totest = totest_class[args.project](args.project)
totest.totest()

0 comments on commit a865bc0

Please sign in to comment.