

def test_abstract(self):
    alias = adapter.DjangoClassAlias(models.Student)
    x = models.Student()
    attrs = alias.getEncodableAttributes(x)
    self.assertEqual(attrs, {
        'age': None,
        'home_group': '',
        'id': None,
        'name': '',
    })

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