

def test_inheritance(self):
    d = Director.query.filter_by(name='Ridley Scott').one()
    attrs = self.director_alias.getEncodableAttributes(d)
    self.assertEqual(self, {
        'movies': d.movies,
        'sa_key': ['Ridley Scott'],
        'person_name': 'Ridley Scott',
        'name': 'Ridley Scott',
        'sa_lazy': [],
    })

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/tests/adapters/test_elixir.py ClassAliasTestCase.test_inheritance/VarMisuse@42/59 `attrs`->`self`