Commit 6af951c9 authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: fix for creation in .project for auto_deploy scenario

parent e850aaac
...@@ -417,7 +417,7 @@ class SlaprunnerTestCase(unittest.TestCase): ...@@ -417,7 +417,7 @@ class SlaprunnerTestCase(unittest.TestCase):
self.app.config['auto_deploy'] = False self.app.config['auto_deploy'] = False
project = open(os.path.join(self.app.config['etc_dir'], project = open(os.path.join(self.app.config['etc_dir'],
'.project'), "w") '.project'), "w")
project.write(self.software + 'slaprunner-test' + '/') project.write(self.software + 'slaprunner-test')
project.close() project.close()
response = isSoftwareReleaseReady(self.app.config) response = isSoftwareReleaseReady(self.app.config)
self.assertEqual(response, "0") self.assertEqual(response, "0")
......
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