mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 20:09:25 +00:00
Add of tests
This commit is contained in:
@ -611,6 +611,7 @@ Welcome to the wiki page!
|
||||
mde.products.add(cons)
|
||||
mde.products.add(dcons)
|
||||
mde.sellers.add(skia)
|
||||
|
||||
mde.save()
|
||||
|
||||
eboutic = Counter.objects.filter(name="Eboutic").first()
|
||||
@ -935,6 +936,7 @@ Welcome to the wiki page!
|
||||
# Add barman to counter
|
||||
c = Counter.objects.get(id=2)
|
||||
c.sellers.add(User.objects.get(pk=krophil.pk))
|
||||
mde.sellers.add(sli)
|
||||
c.save()
|
||||
|
||||
# Create an election
|
||||
|
Reference in New Issue
Block a user