yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64494
[Bug 1436957] Re: assertRaisesRegexp has been deprecated for assertRaisesRegex
Keystone has custom test tools [0] for this (which are named the same
and slightly confusing). The one assertRaisesRegexp test tool was added
[1] as a fix for py26 and is not the same as the function from python 2.
It might be useful to change the name of [0] to avoid any future
confusion, but for the purpose of this bug, keystone shouldn't need any
changes.
[0] https://github.com/openstack/keystone/blob/7754f170aa0eb42bea356e7f912bc241832eb1f3/keystone/tests/unit/core.py#L800
[1] https://review.openstack.org/#/c/39064/
** Changed in: keystone
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1436957
Title:
assertRaisesRegexp has been deprecated for assertRaisesRegex
Status in OpenStack Identity (keystone):
Invalid
Status in python-keystoneclient:
Fix Released
Status in python-magnumclient:
Fix Released
Status in tacker:
Fix Released
Status in watcher:
Fix Released
Bug description:
I am trying to enable tests using tap format for keystone, once I ran
nosetests --with-tap, a warning message was shown for
keystoneclient/tests/unit/test_session.py:238: Pending
DeprecationWarning: Please use assertRegex instead
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1436957/+subscriptions