Merge "Fix pep8 E1111 warning in test_securitygroup.py"

This commit is contained in:
Zuul 2019-05-21 03:17:34 +00:00 committed by Gerrit Code Review
commit 4c1bd3e4f5
1 changed files with 3 additions and 3 deletions

View File

@ -1608,9 +1608,9 @@ class TestSecurityGroups(SecurityGroupDBTestCase):
self.assertEqual(port['port'][ext_sg.SECURITYGROUPS][0],
sg['security_group']['id'])
# try to delete security group that's in use
res = self._delete('security-groups',
sg['security_group']['id'],
webob.exc.HTTPConflict.code)
self._delete('security-groups',
sg['security_group']['id'],
webob.exc.HTTPConflict.code)
# delete the blocking port
self._delete('ports', port['port']['id'])