Commit bf04a66f authored by Nicolas Wavrant's avatar Nicolas Wavrant

runnertest: PATH needs to be updated to run tests

parent edc91312
Pipeline #4012 skipped
...@@ -136,6 +136,9 @@ class SlaprunnerTestCase(unittest.TestCase): ...@@ -136,6 +136,9 @@ class SlaprunnerTestCase(unittest.TestCase):
cls.app = views.app.test_client() cls.app = views.app.test_client()
cls.app.config = views.app.config cls.app.config = views.app.config
# Set up path (needed to find git binary)
os.environ['PATH'] = config.path
def setUp(self): def setUp(self):
"""Initialize slapos webrunner here""" """Initialize slapos webrunner here"""
self.users = [self.init_user, self.init_password, "slaprunner@nexedi.com", "SlapOS web runner"] self.users = [self.init_user, self.init_password, "slaprunner@nexedi.com", "SlapOS web runner"]
......
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