Fix pep8 E1111 warning in test_securitygroup.py
'res' is never used after the call to self._delete(), just like the line below it, so don't save it. Trivialfix Change-Id: Iaaba249cfd658afe3cf0ea8543a9f001cc7b8908
This commit is contained in:
parent
3ad5340d6b
commit
1419c12e74
|
@ -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'])
|
||||
|
||||
|
|
Loading…
Reference in New Issue