java.py (1621:275b26bbd3ae) java.py (1635:97afbb6c5a15)
1import glob
2import os
1import glob
2import os
3import pytest
4import shutil
5import subprocess
6
3import shutil
4import subprocess
5
7from unit.applications.proto import TestApplicationProto
6import pytest
8from conftest import option
7from conftest import option
8from unit.applications.proto import TestApplicationProto
9
10
11class TestApplicationJava(TestApplicationProto):
12 def load(self, script, name='app', **kwargs):
13 app_path = self.temp_dir + '/java'
14 web_inf_path = app_path + '/WEB-INF/'
15 classes_path = web_inf_path + 'classes/'
16 script_path = option.test_dir + '/java/' + script + '/'

--- 76 unchanged lines hidden ---
9
10
11class TestApplicationJava(TestApplicationProto):
12 def load(self, script, name='app', **kwargs):
13 app_path = self.temp_dir + '/java'
14 web_inf_path = app_path + '/WEB-INF/'
15 classes_path = web_inf_path + 'classes/'
16 script_path = option.test_dir + '/java/' + script + '/'

--- 76 unchanged lines hidden ---