Merge branch 'aureplop/bda-test_silence' into 'master'

bda.tests -- Silence syncmails in setup

See merge request cof-geek/gestioCOF!320
This commit is contained in:
Martin Pepin 2018-10-06 17:47:54 +02:00
commit b86f3113ea

View file

@ -51,7 +51,7 @@ class BdATestHelpers:
def require_custommails(self): def require_custommails(self):
from django.core.management import call_command from django.core.management import call_command
call_command("syncmails") call_command("syncmails", verbosity=0)
def check_restricted_access( def check_restricted_access(
self, url, validate_user=user_is_cof, redirect_url=None self, url, validate_user=user_is_cof, redirect_url=None