(self)
| 322 | |
| 323 | class 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 |
nothing calls this directly
no test coverage detected