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

fix #444: default filter all in admin views

fix #426: fix issue where asn email validation was case sensitive in some cases
disable test_locale_files as this is now handled by weblate and locale files no longer reside in this repo
This commit is contained in:
Stefan Pratter
2019-03-14 08:27:46 +00:00
parent 2e619ba4a8
commit 85bb3d0cd1
5 changed files with 18 additions and 9 deletions

View File

@@ -2,6 +2,6 @@
Ownership of organization was automatically granted to user:
User: 'user_a' (neteng@20c.com)
User: 'user_a' (Neteng@20c.com)
Organization: 'ORG AS9000001' (2)
Network: 'AS9000001' AS9000001

View File

@@ -89,7 +89,7 @@ class AsnAutomationTestCase(TestCase):
cls.base_org = models.Organization.objects.create(
name="ASN Automation Tests")
for username, email in [("user_a", "neteng@20c.com"),
for username, email in [("user_a", "Neteng@20c.com"),
("user_b", "neteng@other.com"),
("user_c", "other@20c.com")]:
setattr(cls, username,

View File

@@ -17,7 +17,15 @@ class LocaleFilesTest(TestCase):
messages = dict(zip(message_id, message_str))
return messages
def test_pt(self):
# weblate handles all this now, and these tests are failing
# atm because the locale files no longer reside here
#
# weblate also makes sure that variable formatting matches, so this
# test is somewhat redundant at this point.
#
# either need to redo this test and make sure it generates the locale
# or remove it.
def _test_pt(self):
"""
Test portuguese locale files
"""