

def test_get_all(self):
    self.mox.StubOutWithMock(db, 'aggregate_get_all')
    db.aggregate_get_all(self.context).AndReturn([fake_aggregate])
    self.mox.ReplayAll()
    aggs = aggregate.AggregateList.get_all(self.context)
    aggs.assertEqual(1, len(aggs))
    self.compare_obj(aggs[0], fake_aggregate, subs=SUBS)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/objects/test_aggregate.py _TestAggregateObject.test_get_all/VarMisuse@58/78 `self`->`aggs`