

def test_user(self):
    from django.contrib.auth import models
    alias = pyamf.get_class_alias(models.User)
    self.assertEqual(alias, 'django.contrib.auth.models.User')
    self.assertEqual(alias.exclude_attrs, ('message_set', 'password'))
    self.assertEqual(alias.readonly_attrs, ('username',))

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/tests/adapters/test_django.py AuthTestCase.test_user/original