Home
last modified time | relevance | path

Searched refs:findall (Results 1 – 14 of 14) sorted by relevance

/unit/test/unit/
H A Dlog.py32 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 Dhttp.py215 headers_lines = re.findall('(.*?)\x0d\x0a?', headers_text, re.M | re.S)
/unit/test/
H A Dtest_rewrite.py41 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 Dtest_return.py52 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 Dtest_settings.py288 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 Dtest_python_application.py648 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 Dtest_php_application.py205 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 Dtest_variables.py214 def test_variables_request_id(search_in_file, wait_for_record, findall): argument
222 id1 = findall(
225 id2 = findall(
H A Dtest_respawn.py51 return re.findall(fr'{ppid}.*{name}', ps_output)
H A Dconftest.py356 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 Dtest_tls.py605 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 Dtest_procman.py29 for m in re.findall(
H A Dtest_upstreams_rr.py83 status = re.findall(r'HTTP\/\d\.\d\s(\d\d\d)', resp)
/unit/test/unit/check/
H A Ddiscover_available.py31 for module in Log.findall(r'module: ([a-zA-Z]+) (.*) ".*"$'):