test_static.py (1706:a1da56837554) test_static.py (1730:44912af5b3e6)
1import os
2import socket
3
4import pytest
5
1import os
2import socket
3
4import pytest
5
6from conftest import option
7from conftest import waitforfiles
8from unit.applications.proto import TestApplicationProto
6from conftest import waitforfiles
7from unit.applications.proto import TestApplicationProto
8from unit.option import option
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 ---