MCPcopy Index your code
hub / github.com/blacklanternsecurity/bbot / bbot_httpserver

Function bbot_httpserver

bbot/test/conftest.py:64–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62
63@pytest.fixture
64def bbot_httpserver():
65 server = HTTPServer(host="127.0.0.1", port=8888, threaded=True)
66 server.start()
67
68 yield server
69
70 server.clear()
71 stop_server(server) # Ensure the server is fully stopped
72
73 server.check_assertions()
74 server.clear()
75
76
77@pytest.fixture

Callers

nothing calls this directly

Calls 3

stop_serverFunction · 0.85
clearMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected