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.
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/7754f170aa 0eb42bea356e7f9 12bc241832eb1f3 /keystone/ tests/unit/ core.py# L800 /review. openstack. org/#/c/ 39064/
[1] https:/