only run problem testing when test command is entered in CLI
This commit is contained in:
committed by
Calen Pennington
parent
a2c4948cc5
commit
2c6efbfd5d
@@ -38,11 +38,10 @@ def main():
|
||||
|
||||
if args.command == 'test':
|
||||
test_problem(problem)
|
||||
|
||||
log_captured_output(problem_stdout,
|
||||
"captured stdout from {0}".format(problem_file.name))
|
||||
log_captured_output(problem_stderr,
|
||||
"captured stderr from {0}".format(problem_file.name))
|
||||
log_captured_output(problem_stdout,
|
||||
"captured stdout from {0}".format(problem_file.name))
|
||||
log_captured_output(problem_stderr,
|
||||
"captured stderr from {0}".format(problem_file.name))
|
||||
|
||||
# Print captured problem prints
|
||||
problem_file.close()
|
||||
|
||||
Reference in New Issue
Block a user