(self)
| 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 |
| 333 | |
| 334 | pastes = [{"id": "abc123", "time": "2026-01-01"} for _ in range(3)] |
| 335 | result = _format_paste_results(pastes, "test@example.com") |
| 336 | assert "pastebin.com/abc123" in result |
| 337 | assert "3" in result |
| 338 | |
| 339 | |
| 340 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected