[openstack-dev] [ironic] Problem When Have Test In Master Branch

Wentian Jiang wentian at unitedstack.com
Tue Jul 23 17:22:32 UTC 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130724/08574f63/attachment.html>


More information about the OpenStack-dev mailing list