'Check if authentication works with disabled identity providers.
Test plan:
1) Disable default IdP
2) Try issuing unscoped token for that IdP
3) Expect server to forbid authentication'

def test_issue_unscoped_token_disabled_idp(self):

    enabled_false = {'enabled': False}
    self.federation_api.update_idp(self.IDP, enabled_false)
    self.assertRaises(exception.Forbidden, self._issue_unscoped_token)
