Skip to content

Commit e3b2ac8

Browse files
committed
Execution of Maven corrected
According to #7, subprocess.call(['mvn', 'test']) doesn't work in some cases. This commit replaces it by call('mvn test').
1 parent c6525fe commit e3b2ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def setUpClass(cls):
6767
# Run Maven and go back to the working folder
6868
cwd = os.getcwd()
6969
os.chdir(java_dir)
70-
subprocess.call(['mvn', 'test'], shell=True)
70+
subprocess.call('mvn test', shell=True)
7171
os.chdir(cwd)
7272

7373
def read_file(self, filename, stream=False):

0 commit comments

Comments
 (0)