[python] Improve test API

This commit is contained in:
Émilie Feral
2020-04-01 14:57:25 +02:00
committed by LeaNumworks
parent ffb8f8f953
commit d0a77bda2b
4 changed files with 122 additions and 107 deletions

View File

@@ -2,7 +2,9 @@
#include "execution_environment.h"
QUIZ_CASE(python_basics) {
assert_command_execution_succeeds("2+3","5\n");
TestExecutionEnvironment env = init_environement();
assert_command_execution_succeeds(env, "2+3","5\n");
deinit_environment();
}
QUIZ_CASE(python_template) {