@@ -858,117 +858,6 @@ def test_cm_parse(self):
858858 'ns1.huaweicloud-dns.org' ]
859859 }
860860 self ._parse_and_compare ("icp.cm" , data , expected_results )
861-
862- def test_eu_parse (self ):
863- data = """
864- % The WHOIS service offered by EURid and the access to the records
865- % in the EURid WHOIS database are provided for information purposes
866- % only. It allows persons to check whether a specific domain name
867- % is still available or not and to obtain information related to
868- % the registration records of existing domain names.
869- %
870- % EURid cannot, under any circumstances, be held liable in case the
871- % stored information would prove to be wrong, incomplete or not
872- % accurate in any sense.
873- %
874- % By submitting a query, you agree not to use the information made
875- % available to:
876- %
877- % - allow, enable or otherwise support the transmission of unsolicited,
878- % commercial advertising or other solicitations whether via email or
879- % otherwise;
880- % - target advertising in any possible way;
881- % - cause nuisance in any possible way by sending messages to registrants,
882- % whether by automated, electronic processes capable of enabling
883- % high volumes or by other possible means.
884- %
885- % Without prejudice to the above, it is explicitly forbidden to extract,
886- % copy and/or use or re-utilise in any form and by any means
887- % (electronically or not) the whole or a quantitatively or qualitatively
888- % substantial part of the contents of the WHOIS database without prior
889- % and explicit permission by EURid, nor in any attempt hereof, to apply
890- % automated, electronic processes to EURid (or its systems).
891- %
892- % You agree that any reproduction and/or transmission of data for
893- % commercial purposes will always be considered as the extraction of a
894- % substantial part of the content of the WHOIS database.
895- %
896- % By submitting the query, you agree to abide by this policy and accept
897- % that EURid can take measures to limit the use of its WHOIS services
898- % to protect the privacy of its registrants or the integrity
899- % of the database.
900- %
901- % The EURid WHOIS service on port 43 (textual WHOIS) never discloses
902- % any information concerning the registrant.
903- % Registrant and on-site contact information can be obtained through use of the
904- % web-based WHOIS service available from the EURid website www.eurid.eu
905- %
906- % WHOIS eurid.eu
907- Domain: eurid.eu
908- Script: LATIN
909-
910- Registrant:
911- NOT DISCLOSED!
912- Visit www.eurid.eu for the web-based WHOIS.
913-
914- Technical:
915- Organisation: EURid vzw
916- Language: en
917- Email: tech@eurid.eu
918-
919- Registrar:
920- Name: EURid vzw
921- Website: https://www.eurid.eu
922-
923- Name servers:
924- ns3.eurid.eu (185.36.4.253)
925- ns3.eurid.eu (2001:67c:9c:3937::253)
926- nsx.eurid.eu (185.151.141.1)
927- nsx.eurid.eu (2a02:568:fe00::6575)
928- ns1.eurid.eu (2001:67c:9c:3937::252)
929- ns1.eurid.eu (185.36.4.252)
930- ns2.eurid.eu (2001:67c:40:3937::252)
931- ns2.eurid.eu (185.36.6.252)
932- ns4.eurid.eu (2001:67c:40:3937::253)
933- ns4.eurid.eu (185.36.6.253)
934- nsp.netnod.se
935-
936- Keys:
937- flags:KSK protocol:3 algorithm:RSA_SHA256 pubKey:AwEAAcOQldGtC33GLx8s335UscKMPlWjDXCqbhR2QyAYcfS4CZS6YHg3A1Zz/K3VurTZF68aSaRkNupZuEgt4jozE3v4+t+2qOfiATvoOCrf74hWduBPwk9Go0z7FVlDkok1/qMQmqOtih8TFP85b+w6F/uyLMZS1JowMDUzRurmHJVoT4lW9+OCdrhuQFK9vU24Y8BmacoRy6mWBCFlysizlOIodwmquOf5A+3Nz0B3TLCK4fIYJYVxCUVlpRJ7uaBS+GLD7afuxkEesReYHgPWZFSDMbXk9Ugh+qUi8tEKKFls9TM3lK9BPBcciXUhI1bRJSHftqcNpMmLqg/79SwoWGc=
938-
939- Please visit www.eurid.eu for more info.
940- """
941-
942- expected_results = {
943- "domain_name" : "eurid.eu" ,
944- "script" : "LATIN" ,
945- "reseller_org" : None ,
946- "reseller_lang" : None ,
947- "reseller_email" : None ,
948- "tech_org" : "EURid vzw" ,
949- "tech_lang" : "en" ,
950- "tech_email" : "tech@eurid.eu" ,
951- "registrar" : "EURid vzw" ,
952- "registrar_url" : "https://www.eurid.eu" ,
953- "name_servers" : [
954- "ns3.eurid.eu (185.36.4.253)" ,
955- "ns3.eurid.eu (2001:67c:9c:3937::253)" ,
956- "nsx.eurid.eu (185.151.141.1)" ,
957- "nsx.eurid.eu (2a02:568:fe00::6575)" ,
958- "ns1.eurid.eu (2001:67c:9c:3937::252)" ,
959- "ns1.eurid.eu (185.36.4.252)" ,
960- "ns2.eurid.eu (2001:67c:40:3937::252)" ,
961- "ns2.eurid.eu (185.36.6.252)" ,
962- "ns4.eurid.eu (2001:67c:40:3937::253)" ,
963- "ns4.eurid.eu (185.36.6.253)" ,
964- "nsp.netnod.se" ,
965- ],
966- "dnssec_flags" : "KSK" ,
967- "dnssec_protocol" : "3" ,
968- "dnssec_algorithm" : "RSA_SHA256" ,
969- "dnssec_pubkey" : "AwEAAcOQldGtC33GLx8s335UscKMPlWjDXCqbhR2QyAYcfS4CZS6YHg3A1Zz/K3VurTZF68aSaRkNupZuEgt4jozE3v4+t+2qOfiATvoOCrf74hWduBPwk9Go0z7FVlDkok1/qMQmqOtih8TFP85b+w6F/uyLMZS1JowMDUzRurmHJVoT4lW9+OCdrhuQFK9vU24Y8BmacoRy6mWBCFlysizlOIodwmquOf5A+3Nz0B3TLCK4fIYJYVxCUVlpRJ7uaBS+GLD7afuxkEesReYHgPWZFSDMbXk9Ugh+qUi8tEKKFls9TM3lK9BPBcciXUhI1bRJSHftqcNpMmLqg/79SwoWGc=" ,
970- }
971- self ._parse_and_compare ("eurid.eu" , data , expected_results )
972861
973862
974863if __name__ == "__main__" :
0 commit comments