mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
Gh 419 Review
This commit is contained in:
@@ -11,8 +11,8 @@ import peeringdb_server.inet as pdbinet
|
||||
from util import SettingsCase
|
||||
|
||||
ERR_COULD_NOT_GET_RIR_ENTRY = "RDAP Lookup Error: Test Not Found"
|
||||
ERR_BOGON_ASN = "RDAP Lookup Error: ASNs for documentation/private purposes " \
|
||||
"are not allowed in this environment"
|
||||
ERR_BOGON_ASN = "RDAP Lookup Error: ASNs in this range are not allowed " \
|
||||
"in this environment"
|
||||
|
||||
RdapLookup_get_asn = pdbinet.RdapLookup.get_asn
|
||||
|
||||
@@ -282,7 +282,7 @@ class TestTutorialMode(SettingsCase):
|
||||
"""
|
||||
user = get_user_model().objects.create_user("user_a", "user_a@localhost", "user_a")
|
||||
asns = []
|
||||
for a,b in pdbinet.BOGON_ASN_RANGES:
|
||||
for a,b in pdbinet.TUTORIAL_ASN_RANGES:
|
||||
asns.extend([a,b])
|
||||
|
||||
for asn in asns:
|
||||
|
Reference in New Issue
Block a user