Source

mon_django / mon_django / auth / tests.py

Full commit
from django.test import TestCase


__test__ = {"doctest": """
>>> from mon_django.auth.models import AnonymousUser
>>> a = AnonymousUser()
>>> a.is_authenticated()
False
>>> a.is_staff
False
>>> a.is_active
False
>>> a.is_superuser
False
>>> a.groups.all()
[]
>>> a.user_permissions.all()
[]
"""}