-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: decouple from mailman2 - explicitly model nonwg mailing lists (#…
…7013) * fix: remove synchronization with mailman2 * feat: manage non wg mailing lists explicitly * chore: black * fix: update tests for new nonwg view * feat: drop unused models
- Loading branch information
Showing
12 changed files
with
687 additions
and
286 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,6 @@ | |
from ietf.group.models import Group, Role, RoleName | ||
from ietf.ietfauth.htpasswd import update_htpasswd_file | ||
from ietf.ietfauth.utils import has_role | ||
from ietf.mailinglists.models import Subscribed | ||
from ietf.meeting.factories import MeetingFactory | ||
from ietf.nomcom.factories import NomComFactory | ||
from ietf.person.factories import PersonFactory, EmailFactory, UserFactory, PersonalApiKeyFactory | ||
|
@@ -250,18 +249,6 @@ def test_create_allowlisted_account(self): | |
# register and verify allowlisted email | ||
self.register_and_verify(email) | ||
|
||
|
||
def test_create_subscribed_account(self): | ||
# verify creation with email in subscribed list | ||
saved_delay = settings.LIST_ACCOUNT_DELAY | ||
settings.LIST_ACCOUNT_DELAY = 1 | ||
email = "[email protected]" | ||
s = Subscribed(email=email) | ||
s.save() | ||
time.sleep(1.1) | ||
self.register_and_verify(email) | ||
settings.LIST_ACCOUNT_DELAY = saved_delay | ||
|
||
def test_create_existing_account(self): | ||
# create account once | ||
email = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
130 changes: 0 additions & 130 deletions
130
ietf/mailinglists/management/commands/import_mailman_listinfo.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.