Home
last modified time | relevance | path

Searched refs:wait_for_record (Results 1 – 10 of 10) 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)
47 self.wait_for_record(r'"POST / HTTP/1.1" 200 5') is not None
61 self.wait_for_record(r'"POST / HTTP/1.1" 200 10') is not None
109 self.wait_for_record(
127 self.wait_for_record(
161 self.wait_for_record(
186 self.wait_for_record(r'"GE" 400 0 "-" "-"') is not None
235 self.wait_for_record(r'"GET / HTTP/1.1" 400 \d+ "-" "-"')
245 self.wait_for_record(
[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.py156 self.wait_for_record(r'RuntimeError') is not None
461 self.wait_for_record(r'\[error\].+Error in application\.')
499 assert self.wait_for_record(r'Close called\.') is not None, 'close'
507 self.wait_for_record(r'Close called\.') is not None
516 self.wait_for_record(
538 self.wait_for_record(r'\(5\) Thread: 100', wait=50) is not None
561 assert self.wait_for_record(r'Traceback') is not None, 'traceback'
563 self.wait_for_record(r'raise Exception\(\'first exception\'\)')
599 self.wait_for_record(r'raise Exception\(\'third exception\'\)')
634 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.py389 self.wait_for_record(r'\(5\) Thread: 100', wait=50) is not None
H A Dtest_tls.py621 self.wait_for_record(
H A Dtest_php_application.py583 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