1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00

Support 202103 (#966)

* Add check for existing pending affiliations to org

* Fix message

* 883 consolidation for deskpro tickets

* add views tests

* ipaddress normalization during search (#913)

* remove unused imports

* Update lat and long admin fields to not required

* black formatting

* relock pipfile

* fix conditions for failing asn affil test

* Update affiliation logic and add tests

* make name search case insensitive

* add asn to org_id lookup

* black format

* skip sync test while test.peeringdb.com is down

Co-authored-by: Elliot Frank <elliot@20c.com>
Co-authored-by: Stefan Pratter <stefan@20c.com>
This commit is contained in:
Matt Griswold
2021-04-13 08:59:23 -05:00
committed by GitHub
parent 744450e310
commit 2162329ea1
13 changed files with 755 additions and 212 deletions

View File

@@ -1,3 +1,5 @@
import pytest
from django.core.management import call_command
from django.contrib.auth import get_user_model
from django.conf import settings
@@ -43,6 +45,8 @@ class TestWipe(ClientCase):
assert get_user_model().objects.all().count() == 1
assert get_user_model().objects.first().is_superuser == True
# FIXME: uncomment when test.peeringdb.com is back up
@pytest.mark.skip(reason="test.peeringdb.com is currently unavailable")
def test_run_with_sync(self):
"""
Test running `pdb_wipe` and sync data from