Merge "Remove unused "id" and "rules" from secgroup body"

This commit is contained in:
Jenkins 2015-06-25 17:39:55 +00:00 committed by Gerrit Code Review
commit 3e7e76660b
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ class TestSecurityGroupsV21(test.TestCase):
self.assertTrue(self.called)
def test_delete_security_group_by_admin(self):
sg = security_group_template(id=2, rules=[])
sg = security_group_template()
req = fakes.HTTPRequest.blank('/v2/fake/os-security-groups')
self.controller.create(req, {'security_group': sg})