def _create_sg_template(self, **kwargs): sg = test_security_groups.security_group_request_template(**kwargs) return self.controller.create(self.req, body={'security_group': sg})
def _create_sg_template(self, **kwargs): sg = test_security_groups.security_group_request_template(**kwargs) req = fakes.HTTPRequest.blank('/v2/fake/os-security-groups') return self.controller.create(req, {'security_group': sg})
def _create_sg_template(self, **kwargs): sg = test_security_groups.security_group_request_template(**kwargs) req = fakes.HTTPRequest.blank("/v2/fake/os-security-groups") return self.controller.create(req, {"security_group": sg})