test_static.py (1730:44912af5b3e6) test_static.py (1735:a0e0d4f90e51)
1import os
2import socket
3
4import pytest
5
1import os
2import socket
3
4import pytest
5
6from conftest import waitforfiles
7from unit.applications.proto import TestApplicationProto
8from unit.option import option
6from unit.applications.proto import TestApplicationProto
7from unit.option import option
8from unit.utils import waitforfiles
9
10
11class TestStatic(TestApplicationProto):
12 prerequisites = {}
13
14 def setup_method(self):
15 os.makedirs(option.temp_dir + '/assets/dir')
16 with open(option.temp_dir + '/assets/index.html', 'w') as index, open(

--- 315 unchanged lines hidden ---
9
10
11class TestStatic(TestApplicationProto):
12 prerequisites = {}
13
14 def setup_method(self):
15 os.makedirs(option.temp_dir + '/assets/dir')
16 with open(option.temp_dir + '/assets/index.html', 'w') as index, open(

--- 315 unchanged lines hidden ---