MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / test_process_list

Method test_process_list

test/mitmproxy/tools/web/test_app.py:556–565  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

554 self.assertEqual(ws_client.close_reason, "Internal server error.")
555
556 def test_process_list(self):
557 try:
558 mitmproxy_rs.process_info.active_executables()
559 except NotImplementedError:
560 pytest.skip(
561 "mitmproxy_rs.process_info.active_executables not available on this platform."
562 )
563 resp = self.fetch("/processes")
564 assert resp.code == 200
565 assert get_json(resp)
566
567 def test_process_icon(self):
568 try:

Callers

nothing calls this directly

Calls 2

fetchMethod · 0.95
get_jsonFunction · 0.70

Tested by

no test coverage detected