stdout: {{{
GET: /v1/nodes/1be26c0b-03f2-4d2e-ae87-c02d7f33c123 {}
GOT:Response: 401 Unauthorized
Content-Type: text/plain; charset=UTF-8
Www-Authenticate: Keystone uri='https://127.0.0.1:35357'
401 Unauthorized
This server could not verify that you are authorized to access the document
you requested. Either you supplied the wrong credentials (e.g., bad
password), or your browser does not understand how to supply the
credentials required.
 Authentication required
}}}

Traceback (most recent call last):
  File "ironic/tests/api/test_acl.py", line 70, in test_non_admin
    self.assertEqual(response.status_int, 403)
  File
"/home/jiangwt100/WorkingProject/ironic/.tox/venv/local/lib/python2.7/site-packages/testtools/testcase.py",
line 322, in assertEqual
    self.assertThat(observed, matcher, message)
  File
"/home/jiangwt100/WorkingProject/ironic/.tox/venv/local/lib/python2.7/site-packages/testtools/testcase.py",
line 417, in assertThat
    raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: 401 != 403


-- 
Wentian Jiang
UnitedStack Inc.
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to