f99e1b5bf2fb55e1cda4e1b067b81a7ce9795bf3
The tests/sqlalchemy/test_exc_filters.py tests were asserting the exact string format of SQLAlchemy exceptions. SQLAlchemy is improving its exception format in version 1.0, thereby breaking these tests. Instead of supporting multiple string formats, change the assertions to compare specific fields per the oslo.db.exceptions and sqlalchemy.exc APIs. Change-Id: Ie98ac3ca82a1052c463ca9ca5d41e228935497b3
Overview
oslo.db library
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.db
- Source: http://git.openstack.org/cgit/openstack/oslo.db
- Bugs: http://bugs.launchpad.net/oslo
Description