* 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
17 lines
392 B
Python
17 lines
392 B
Python
# Copyright The IETF Trust 2018-2020, All Rights Reserved
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
import factory
|
|
|
|
from ietf.mailinglists.models import NonWgMailingList
|
|
|
|
class NonWgMailingListFactory(factory.django.DjangoModelFactory):
|
|
class Meta:
|
|
model = NonWgMailingList
|
|
|
|
name = factory.Sequence(lambda n: "list-name-%s" % n)
|
|
description = factory.Faker('sentence', nb_words=10)
|
|
|
|
|