MCPcopy Create free account
hub / github.com/OpenOSINT/OpenOSINT / test_format_no_results

Method test_format_no_results

tests/test_tools.py:324–329  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

322
323class TestSearchPasteFormatting:
324 def test_format_no_results(self):
325 from openosint.tools.search_paste import _format_paste_results
326
327 result = _format_paste_results([], "johndoe")
328 assert "johndoe" in result
329 assert "No pastes" in result or "no" in result.lower()
330
331 def test_format_with_results(self):
332 from openosint.tools.search_paste import _format_paste_results

Callers

nothing calls this directly

Calls 1

_format_paste_resultsFunction · 0.90

Tested by

no test coverage detected