Skip to content

Commit

Permalink
messaging update
Browse files Browse the repository at this point in the history
  • Loading branch information
amit1rrr committed Apr 3, 2019
1 parent b29838b commit e822b34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions treon/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(self, file_path):
self.is_successful = False

def run_tests(self):
print("Triggered test for {file_path} \n".format(file_path=self.file_path))
print("Triggered test for {file_path}".format(file_path=self.file_path))

try:
self.is_successful, console_output = execute_notebook(self.file_path)
Expand All @@ -21,9 +21,9 @@ def run_tests(self):

def result_string(self):
if self.is_successful:
return '{file_path} -- PASSED \n'.format(file_path=self.file_path)
return '\n{file_path} -- PASSED \n'.format(file_path=self.file_path)
else:
return '{file_path} -- FAILED \n'.format(file_path=self.file_path)
return '\n{file_path} -- FAILED \n'.format(file_path=self.file_path)

def error_string(self, stack_trace):
variables = {
Expand Down

0 comments on commit e822b34

Please sign in to comment.