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

Method test_target_preserved

tests/test_json_export.py:47–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 assert result["tool"] == "search_ip"
46
47 def test_target_preserved(self):
48 result = format_tool_result("search_email", "test@example.com", "output")
49 assert result["target"] == "test@example.com"
50
51 def test_results_is_list(self):
52 result = format_tool_result("search_email", "test@example.com", "line one\nline two")

Callers

nothing calls this directly

Calls 1

format_tool_resultFunction · 0.90

Tested by

no test coverage detected