Add some tests on counter

This commit is contained in:
2017-05-14 12:54:26 +02:00
parent 63acf588ca
commit 0af72500c6
2 changed files with 51 additions and 0 deletions

View File

@ -473,6 +473,11 @@ Welcome to the wiki page!
start=s.subscription_start)
s.save()
# Add barman to counter
c = Counter.objects.get(id=2)
c.sellers.add(User.objects.get(pk=krophil.pk))
c.save()
# Create an election
public_group = Group.objects.get(id=settings.SITH_GROUP_PUBLIC_ID)
subscriber_group = Group.objects.get(name=settings.SITH_MAIN_MEMBERS_GROUP)