

def test_change_rack_in_descendants(self):
    self.dc_asset.rack = RackFactory()
    self.dc_asset.save()
    asset = DataCenterAsset.objects.get(pk=self.dc_asset_2.pk)
    self.assertEquals(self.dc_asset.rack_id, self.rack_id)

dataset/ETHPy150Open allegro/ralph/src/ralph/data_center/tests/test_models.py DataCenterAssetTest.test_change_rack_in_descendants/VarMisuse@55/76 `asset`->`self`