'Test enabling a stack domain user, fallback path.'

def test_enable_stack_domain_user_legacy_fallback(self):

    self._clear_domain_override()
    ctx = utils.dummy_context()
    ctx.trust_id = None
    self._stubs_auth()
    self.mock_ks_v3_client.users = self.m.CreateMockAnything()
    self.mock_ks_v3_client.users.update(user='user123', enabled=True).AndReturn(None)
    self.m.ReplayAll()
    heat_ks_client = heat_keystoneclient.KeystoneClient(ctx)
    heat_ks_client.enable_stack_domain_user(user_id='user123', project_id='aproject')
