def test_check_requested_destination_fails_with_same_dest(self):
    self.task.destination = 'same'
    self.task.source = 'same'
    self.assertRaises(exception.UnableToMigrateToSelf, self.task._check_requested_destination)
def test_check_requested_destination_fails_with_same_dest(self):
    self.task.destination = 'same'
    self.task.source = 'same'
    self.assertRaises(exception.UnableToMigrateToSelf, self.task._check_requested_destination)