Add parameter to function for TravisCI

This commit is contained in:
Andrii Marynets 2017-08-03 00:24:16 +03:00
parent b28cbdc940
commit d2beef2032

View file

@ -19,7 +19,7 @@ REGISTRATION_MESSAGE = {'subject': "Validation mail",
'from': 'test@test.com'} 'from': 'test@test.com'}
def get_anonymous_user_instance(): def get_anonymous_user_instance(CustomUser):
return CustomUser(name='Anonymous', email='anonymous@ungleich.ch', return CustomUser(name='Anonymous', email='anonymous@ungleich.ch',
validation_slug=make_password(None)) validation_slug=make_password(None))