Merge "Replace assertRaisesRegexp with assertRaisesRegex"

This commit is contained in:
Jenkins 2017-06-06 10:01:24 +00:00 committed by Gerrit Code Review
commit f236107ccc
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ class FWaaSExtensionTestJSON(base.BaseFWaaSTest):
self.addCleanup(self._try_delete_firewall, created_firewall['id'])
# Try to create firewall with the same router
self.assertRaisesRegexp(
self.assertRaisesRegex(
lib_exc.Conflict,
"already associated with other Firewall",
self.firewalls_client.create_firewall,