Skip to content

Commit 16c5fa3

Browse files
committed
update .nl tests
1 parent 315eb85 commit 16c5fa3

5 files changed

Lines changed: 56 additions & 88 deletions

File tree

test/samples/expected/app.nl

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"domain_name": "app.nl",
3+
"expiration_date": null,
4+
"updated_date": "2025-09-12 00:00:00+00:00",
5+
"creation_date": "1998-02-20 00:00:00+00:00",
6+
"status": "active",
7+
"registrar": "Hosting Secure",
8+
"registrar_address": "Weesperstraat 61",
9+
"registrar_postal_code": "1018VN",
10+
"registrar_city": "Amsterdam",
11+
"registrar_country": "Netherlands",
12+
"reseller": "Hoasted",
13+
"reseller_address": "Weesperstraat 61",
14+
"reseller_postal_code": "3512AB",
15+
"reseller_city": "Amsterdam",
16+
"reseller_country": "Netherlands",
17+
"abuse_phone": "+31.0202018165",
18+
"abuse_email": "abuse@hostingsecure.com",
19+
"dnssec": "yes",
20+
"name_servers": [
21+
"ns1.hoasted.nl",
22+
"ns2.hoasted.eu",
23+
"ns3.hoasted.com"
24+
]
25+
}

test/samples/expected/marktplaats.nl

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/samples/whois/app.nl

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Domain name: app.nl
2+
Status: active
3+
4+
Reseller:
5+
Hoasted
6+
Weesperstraat 61
7+
3512AB Amsterdam
8+
Netherlands
9+
10+
Registrar:
11+
Hosting Secure
12+
Weesperstraat 61
13+
1018VN Amsterdam
14+
Netherlands
15+
16+
Abuse Contact:
17+
+31.0202018165
18+
abuse@hostingsecure.com
19+
20+
DNSSEC: yes
21+
22+
Domain nameservers:
23+
ns1.hoasted.nl
24+
ns2.hoasted.eu
25+
ns3.hoasted.com
26+
27+
Creation Date: 1998-02-20
28+
29+
Updated Date: 2025-09-12
30+
31+
Record maintained by: SIDN BV

test/samples/whois/marktplaats.nl

Lines changed: 0 additions & 48 deletions
This file was deleted.

test/test_parser.py

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -501,45 +501,6 @@ def test_ie_parse(self):
501501
}
502502
self._parse_and_compare("rte.ie", data, expected_results)
503503

504-
def test_nl_parse(self):
505-
data = """
506-
Domain name: utwente.nl
507-
Status: active
508-
509-
Registrar:
510-
Universiteit Twente
511-
Drienerlolaan 5
512-
7522NB ENSCHEDE
513-
Netherlands
514-
515-
Abuse Contact:
516-
517-
DNSSEC: yes
518-
519-
Domain nameservers:
520-
ns3.utwente.nl 131.155.0.37
521-
ns1.utwente.nl 130.89.1.2
522-
ns1.utwente.nl 2001:67c:2564:a102::3:1
523-
ns2.utwente.nl 130.89.1.3
524-
ns2.utwente.nl 2001:67c:2564:a102::3:2
525-
526-
Record maintained by: NL Domain Registry
527-
"""
528-
expected_results = {
529-
"creation_date": None,
530-
"dnssec": "yes",
531-
"domain_name": "utwente.nl",
532-
"expiration_date": None,
533-
"name_servers": ["ns1.utwente.nl", "ns2.utwente.nl", "ns3.utwente.nl"],
534-
"registrar": "Universiteit Twente",
535-
"registrar_address": "Drienerlolaan 5",
536-
"registrar_city": "ENSCHEDE",
537-
"registrar_country": "Netherlands",
538-
"registrar_postal_code": "7522NB",
539-
"status": "active",
540-
"updated_date": None,
541-
}
542-
self._parse_and_compare("utwente.nl", data, expected_results)
543504

544505
def test_nl_expiration(self):
545506
data = """

0 commit comments

Comments
 (0)