whoxy.py 515 B

123456789101112131415161718
  1. from tools.network.whoxy import WhoxyTool
  2. tool = WhoxyTool()
  3. def test_name():
  4. assert tool.name() == "whoxy"
  5. def test_description():
  6. assert (
  7. tool.description()
  8. == "The WHOIS API returns consistent and well-structured WHOIS data in XML & JSON format. Returned data contain parsed WHOIS fields that can be easily understood. Along with WHOIS API, Whoxy also offer WHOIS History API and Reverse WHOIS API."
  9. )
  10. def test_category():
  11. assert tool.category() == "Network intelligence"