Skip to content

Commit

Permalink
Change property for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GIlca committed Dec 6, 2022
1 parent 194b298 commit ed784d8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class ArgumentsBindingTest {
PythonExecutionNotCachedEngine.class.getSimpleName());
assertNull("python.executor.engine was configured before this test!!!!!!!", provideralAlreadyConfigured);

System.setProperty("use.jython.expressions", "true");
System.setProperty("python.expressionsEval", "jython");
}

@SuppressWarnings("unchecked")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
@ContextConfiguration(classes = InputsBindingTest.Config.class)
public class InputsBindingTest {
static {
System.setProperty("use.jython.expressions", "true");
System.setProperty("python.expressionsEval", "jython");
}

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@RunWith(MockitoJUnitRunner.class)
public class LoopsBindingTest {
static {
System.setProperty("use.jython.expressions", "true");
System.setProperty("python.expressionsEval", "jython");
}

@SuppressWarnings("unchecked")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
@ContextConfiguration(classes = OutputsBindingTest.Config.class)
public class OutputsBindingTest {
static {
System.setProperty("use.jython.expressions", "true");
System.setProperty("python.expressionsEval", "jython");
}

private static final long DEFAULT_TIMEOUT = 10000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@RunWith(MockitoJUnitRunner.class)
public class ParallelLoopBindingTest {
static {
System.setProperty("use.jython.expressions", "true");
System.setProperty("python.expressionsEval", "jython");
}

@SuppressWarnings("unchecked")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
@ContextConfiguration(classes = ResultBindingTest.Config.class)
public class ResultBindingTest {
static {
System.setProperty("use.jython.expressions", "true");
System.setProperty("python.expressionsEval", "jython");
}

@SuppressWarnings("unchecked")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
@ContextConfiguration(classes = ScriptEvaluatorTest.Config.class)
public class ScriptEvaluatorTest {
static {
System.setProperty("use.jython.expressions", "true");
System.setProperty("python.expressionsEval", "jython");
}

private static String LINE_SEPARATOR = "\n";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public abstract class SystemsTestsParent {
assertNull("python.executor.engine was configured before this test!!!!!!!", provideralAlreadyConfigured);

System.setProperty(CSLANG_RUNTIME_EVENTS_VERBOSITY.getValue(), EventVerbosityLevel.DEFAULT.getValue());
System.setProperty("use.jython.expressions", "true");
System.setProperty("python.expressionsEval", "jython");
}

@Autowired
Expand Down

0 comments on commit ed784d8

Please sign in to comment.