Home
last modified time | relevance | path

Searched refs:wait_for_record (Results 1 – 11 of 11) sorted by relevance

/unit/test/
H A Dtest_access_log.py27 def wait_for_record(self, pattern, name='access.log'): member in TestAccessLog
28 return super().wait_for_record(pattern, name)
46 self.wait_for_record(r'"POST / HTTP/1.1" 200 5') is not None
52 self.wait_for_record(r'"POST / HTTP/1.1" 200 10') is not None
100 self.wait_for_record(
118 self.wait_for_record(
152 self.wait_for_record(
177 self.wait_for_record(r'"GE" 400 0 "-" "-"') is not None
226 self.wait_for_record(r'"GET / HTTP/1.1" 400 \d+ "-" "-"')
236 self.wait_for_record(
[all …]
H A Dtest_variables.py28 def wait_for_record(self, pattern, name='access.log'): member in TestVariables
29 return super().wait_for_record(pattern, name)
100 assert self.wait_for_record(reg) is not None
116 assert self.wait_for_record(reg) is not None
137 assert self.wait_for_record(reg) is not None
158 assert self.wait_for_record(reg) is not None
183 assert self.wait_for_record(reg) is not None
193 assert self.wait_for_record(reg) is not None
212 assert self.wait_for_record(reg) is not None
235 assert self.wait_for_record(reg) is not None
[all …]
H A Dtest_usr1.py30 self.wait_for_record(r'"GET / HTTP/1.1" 200 0 "-" "-"', log_new)
42 self.wait_for_record(r'"GET /usr1 HTTP/1.1" 200 0 "-" "-"', log)
62 assert self.wait_for_record(body, log_new) is not None, 'rename new'
72 assert self.wait_for_record(body) is not None, 'rename new'
H A Dtest_asgi_lifespan.py106 self.wait_for_record(r'\[error\].*Application startup failed')
109 assert self.wait_for_record(r'Exception blah') is not None, 'exception'
116 assert self.wait_for_record(r'Exception blah') is not None, 'exception'
123 assert self.wait_for_record(r'AssertionError') is not None, 'assertion'
H A Dtest_python_application.py149 self.wait_for_record(r'RuntimeError') is not None
425 self.wait_for_record(r'\[error\].+Error in application\.')
463 assert self.wait_for_record(r'Close called\.') is not None, 'close'
471 self.wait_for_record(r'Close called\.') is not None
480 self.wait_for_record(
502 self.wait_for_record(r'\(5\) Thread: 100', wait=50) is not None
525 assert self.wait_for_record(r'Traceback') is not None, 'traceback'
527 self.wait_for_record(r'raise Exception\(\'first exception\'\)')
563 self.wait_for_record(r'raise Exception\(\'third exception\'\)')
598 self.wait_for_record(r'raise Exception\(\'next exception\'\)')
[all …]
H A Dtest_ruby_application.py179 self.wait_for_record(r'\[error\].+Error in application') is not None
188 self.wait_for_record(r'\[error\].+1234567890') is not None
196 self.wait_for_record(r'\[error\].+Error in application') is not None
209 self.wait_for_record(r'\[error\].+1234567890') is not None
220 self.wait_for_record(r'\[error\].+At exit called\.') is not None
331 self.wait_for_record(r'\[error\].+Failed to run ruby script')
H A Dtest_perl_application.py137 self.wait_for_record(r'\[error\].+Error in application') is not None
227 self.wait_for_record(r'\[error\].+IOFake getline\(\) \$\/ is \d+')
232 self.wait_for_record(r'\[error\].+IOFake close\(\) called')
H A Dtest_asgi_application.py351 self.wait_for_record(r'\(5\) Thread: 100', wait=50) is not None
H A Dtest_tls.py616 self.wait_for_record(
H A Dtest_php_application.py575 assert self.wait_for_record(pattern) is not None, 'errors print'
/unit/test/unit/applications/
H A Dproto.py27 def wait_for_record(self, pattern, name='unit.log', wait=150, flags=re.M): member in TestApplicationProto