

def test_set_admin_password(self):
    call_info = self._stub_rpc_method('cast', None)
    self.cells_rpcapi.set_admin_password(self.fake_context, 'fake-instance', 'fake-password')
    expected_args = {
        'instance': 'fake-instance',
        'new_pass': 'fake-password',
    }
    self._check_result(call_info, 'set_admin_password', self, version='1.29')

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_set_admin_password/VarMisuse@60/109 `expected_args`->`self`