Commit cc34cbb2 authored by Nicolas Wavrant's avatar Nicolas Wavrant

resiliencytest: slaprunner _openSoftwareRelease should be able to open different Software Releases

parent fff8891f
Pipeline #3041 skipped
...@@ -193,11 +193,11 @@ class SlaprunnerTestSuite(ResiliencyTestSuite): ...@@ -193,11 +193,11 @@ class SlaprunnerTestSuite(ResiliencyTestSuite):
while self._connectToSlaprunner('getProjectStatus', data='project=workspace/slapos').find('On branch master') is -1: while self._connectToSlaprunner('getProjectStatus', data='project=workspace/slapos').find('On branch master') is -1:
self.logger.info('git-cloning ongoing, sleeping...') self.logger.info('git-cloning ongoing, sleeping...')
def _openSoftwareRelease(self): def _openSoftwareRelease(self, software_release='slaprunner/test/dummy'):
self.logger.debug('Opening dummy software release...') self.logger.debug('Opening dummy software release...')
self._connectToSlaprunner( self._connectToSlaprunner(
resource='setCurrentProject', resource='setCurrentProject',
data='path=workspace/slapos/software/slaprunner/test/dummy/' data='path=workspace/slapos/software/%s/' % software_release
) )
def generateData(self): def generateData(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment