mentat.services.test_whois module¶
Unit test module for testing the mentat.services.whois
module.
-
class
mentat.services.test_whois.
TestMentatWhois
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Unit test module for testing the
mentat.services.whois
module.-
networks_raw
= [{'id': 1, 'source': 'negistry', 'netnames': 'MUNI-01', 'network': '195.178.86.0-195.178.87.255', 'type': 'ipv4', 'resolved_abuses': {'low': ['abuse@muni.cz']}}, {'id': 2, 'source': 'negistry', 'netnames': 'MUNI-02', 'network': '147.251.0.0-147.251.255.255', 'type': 'ipv4', 'resolved_abuses': {'low': ['abuse@muni.cz']}}, {'id': 3, 'source': 'negistry', 'netnames': 'MUNI-03', 'network': '2001:718:800:5::/64', 'type': 'ipv6', 'resolved_abuses': {'low': ['abuse@muni.cz']}}, {'id': 4, 'source': 'negistry', 'netnames': 'CESNET-01', 'network': '195.179.86.0-195.179.87.255', 'type': 'ipv4', 'resolved_abuses': {'low': ['abuse@cesnet.cz']}}, {'id': 5, 'source': 'negistry', 'netnames': 'CESNET-00', 'network': '195.179.0.0-195.179.255.255', 'type': 'ipv4', 'resolved_abuses': {'low': ['abuse@cesnet.cz']}}, {'id': 6, 'source': 'negistry', 'netnames': 'CESNET-02', 'network': '147.252.0.0-147.252.255.255', 'type': 'ipv4', 'resolved_abuses': {'low': ['abuse@cesnet.cz']}}, {'id': 7, 'source': 'negistry', 'netnames': 'CESNET-03', 'network': '2001:718:1:6::/64', 'type': 'ipv6', 'resolved_abuses': {'low': ['abuse@cesnet.cz']}}]¶
-
verbose
= False¶
-