Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -198,7 +198,7 @@ class Context(object): | ... | @@ -198,7 +198,7 @@ class Context(object): |
198 | # run any unit tests | 198 | # run any unit tests |
199 | unit_test_path = os.path.join(self.test_dir, 'unit') | 199 | unit_test_path = os.path.join(self.test_dir, 'unit') |
200 | if os.path.exists(unit_test_path): | 200 | if os.path.exists(unit_test_path): |
201 | - os.chdir(self.function.path) | 201 | + os.chdir(self.source_dir) |
202 | print('running unit tests') | 202 | print('running unit tests') |
203 | pipe = os.popen(self.unit_test_runner, 'r') | 203 | pipe = os.popen(self.unit_test_runner, 'r') |
204 | print(pipe.read()) | 204 | print(pipe.read()) | ... | ... |
-
Please register or login to post a comment