MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / _test_parse_req

Function _test_parse_req

test/tools/donate_cpu_server_test.py:5–7  ·  view source on GitHub ↗
(req_str, url_exp, queryParams_exp)

Source from the content-addressed store, hash-verified

3donate_cpu_server = import_module('donate-cpu-server')
4
5def _test_parse_req(req_str, url_exp, queryParams_exp):
6 url, queryParams = donate_cpu_server.HttpClientThread.parse_req(req_str)
7 assert url == url_exp and queryParams == queryParams_exp
8
9def test_parse_req():
10 _test_parse_req("", None, None)

Callers 1

test_parse_reqFunction · 0.85

Calls 1

parse_reqMethod · 0.80

Tested by

no test coverage detected