Searched refs:findall (Results 1 – 14 of 14) sorted by relevance
/unit/test/unit/ |
H A D | log.py | 32 alerts = re.findall(r'.+\[alert\].+', log) 48 sanitizer_errors = re.findall('.+Sanitizer.+', log) 56 def findall(pattern, name=UNIT_LOG, flags=re.M): member in Log 57 return re.findall(pattern, Log.read(name), flags)
|
H A D | http.py | 215 headers_lines = re.findall('(.*?)\x0d\x0a?', headers_text, re.M | re.S)
|
/unit/test/ |
H A D | test_rewrite.py | 41 def test_rewrite(findall, wait_for_record): argument 44 assert len(findall(r'\[notice\].*URI rewritten to "/new"')) == 1 45 assert len(findall(r'\[notice\].*URI rewritten')) == 1
|
H A D | test_return.py | 52 assert len(re.findall('200 OK', resp)) == 10 53 assert len(re.findall('Connection:', resp)) == 1 54 assert len(re.findall('Connection: close', resp)) == 1
|
H A D | test_settings.py | 288 values = re.findall(r'net.core.[rw]mem_(?:max|default).*?(\d+)', sysctl_out) 436 def test_settings_log_route(findall, search_in_file, wait_for_record): argument 438 return len(findall(r'"fallback" taken')) 586 assert len(findall(r'\[notice\].*http request line')) == 7 587 assert len(findall(r'\[notice\].*selected')) == 10 588 assert len(findall(r'\[info\].*discarded')) == 2
|
H A D | test_python_application.py | 648 def test_python_application_iter_exception(findall, wait_for_record): argument 672 assert len(findall(r'Traceback')) == 1, 'traceback count 1' 690 assert len(findall(r'Traceback')) == 2, 'traceback count 2' 706 assert len(findall(r'Traceback')) == 3, 'traceback count 3' 724 assert len(findall(r'Traceback')) == 4, 'traceback count 4' 740 assert len(findall(r'Traceback')) == 5, 'traceback count 5' 757 assert len(findall(r'Traceback')) == 6, 'traceback count 6' 775 assert len(findall(r'Traceback')) == 8, 'traceback count 8'
|
H A D | test_php_application.py | 205 def test_php_application_fastcgi_finish_request(findall, unit_pid): argument 217 errs = findall(r'Error in fastcgi_finish_request') 222 def test_php_application_fastcgi_finish_request_2(findall, unit_pid): argument 236 errs = findall(r'Error in fastcgi_finish_request') 657 def test_php_application_error_log(findall, wait_for_record): argument 670 errs = findall(pattern)
|
H A D | test_variables.py | 214 def test_variables_request_id(search_in_file, wait_for_record, findall): argument 222 id1 = findall( 225 id2 = findall(
|
H A D | test_respawn.py | 51 return re.findall(fr'{ppid}.*{name}', ps_output)
|
H A D | conftest.py | 356 z_ppids = re.findall(r'Z\s*(\d+)', out) 608 return re.findall(f'{unit_instance["pid"]}.*{name}', ps_output) 636 def findall(): function 638 return Log.findall(*args, **kwargs)
|
H A D | test_tls.py | 605 def test_tls_application_respawn(findall, skip_alert, wait_for_record): argument 624 app_id = findall(r'(\d+)#\d+ "mirror" application started')[0]
|
H A D | test_procman.py | 29 for m in re.findall(
|
H A D | test_upstreams_rr.py | 83 status = re.findall(r'HTTP\/\d\.\d\s(\d\d\d)', resp)
|
/unit/test/unit/check/ |
H A D | discover_available.py | 31 for module in Log.findall(r'module: ([a-zA-Z]+) (.*) ".*"$'):
|