Make sure that factory groups have a type.

- Legacy-Id: 13780
This commit is contained in:
Henrik Levkowetz 2017-07-06 13:56:59 +00:00
parent 7266c46ce6
commit 9e5db7ce5c

View file

@ -11,6 +11,7 @@ class GroupFactory(factory.DjangoModelFactory):
name = factory.Faker('sentence',nb_words=6)
acronym = factory.Sequence(lambda n: 'acronym%d' %n)
state_id = 'active'
type_id = 'wg'
class ReviewTeamFactory(factory.DjangoModelFactory):
class Meta: