test_static.py (1596:b7e2d4d92624) test_static.py (1620:3165d834176e)
1import os
2import pytest
3import socket
4
5from unit.applications.proto import TestApplicationProto
6from conftest import waitforfiles
7
8

--- 115 unchanged lines hidden (view full) ---

124 self.temp_dir + '/assets/ di r / fi le ',
125 )
126 assert waitforfiles(self.temp_dir + '/assets/ di r / fi le ')
127 assert (
128 self.get(url='/%20di%20r%20/%20fi%20le%20')['body'] == 'blah'
129 ), 'file name enclosing'
130
131 try:
1import os
2import pytest
3import socket
4
5from unit.applications.proto import TestApplicationProto
6from conftest import waitforfiles
7
8

--- 115 unchanged lines hidden (view full) ---

124 self.temp_dir + '/assets/ di r / fi le ',
125 )
126 assert waitforfiles(self.temp_dir + '/assets/ di r / fi le ')
127 assert (
128 self.get(url='/%20di%20r%20/%20fi%20le%20')['body'] == 'blah'
129 ), 'file name enclosing'
130
131 try:
132 print('файл')
132 open(self.temp_dir + '/ф а', 'a').close()
133 utf8 = True
134
135 except:
136 utf8 = False
137
138 if utf8:
139 os.rename(
140 self.temp_dir + '/assets/ di r / fi le ',

--- 186 unchanged lines hidden ---
133 utf8 = True
134
135 except:
136 utf8 = False
137
138 if utf8:
139 os.rename(
140 self.temp_dir + '/assets/ di r / fi le ',

--- 186 unchanged lines hidden ---