

def test_update_target(self):
    target = new_target.driver.list_targets()[0]
    extra = {
        'servicePlan': 'Essentials',
    }
    new_target = self.driver.update_target(target, extra=extra)
    self.assertEqual(new_target.extra['servicePlan'], 'Essentials')

dataset/ETHPy150Open apache/libcloud/libcloud/test/backup/test_dimensiondata.py DimensionDataTests.test_update_target/VarMisuse@12/15 `self`->`new_target`