'Authenticating with an invalid project fails.'

def test_auth_scoped_token_bad_project_with_debug(self):

    body_dict = _build_user_auth(username=self.user_foo['name'], password=self.user_foo['password'], tenant_id=self.tenant_bar['name'])
    self.config_fixture.config(debug=True, insecure_debug=True)
    e = self.assertRaises(exception.Unauthorized, self.controller.authenticate, self.make_request(), body_dict)
    self.assertIn(('Project    ID    not    found:    %s' % self.tenant_bar['name']), six.text_type(e))
