mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Speed up tests (#638)
This commit is contained in:
@ -9,8 +9,6 @@ from election.models import Election
|
||||
|
||||
class MainElection(TestCase):
|
||||
def setUp(self):
|
||||
call_command("populate")
|
||||
|
||||
self.election = Election.objects.all().first()
|
||||
self.public_group = Group.objects.get(id=settings.SITH_GROUP_PUBLIC_ID)
|
||||
self.subscriber_group = Group.objects.get(name=settings.SITH_MAIN_MEMBERS_GROUP)
|
||||
|
Reference in New Issue
Block a user