commit | 34563cca7c97fe8118b6fa214cbd1c26b3816e7e | [log] [tgz] |
---|---|---|
author | Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | Tue Jul 21 00:53:17 2015 +0000 |
committer | Ken'ichi Ohmichi <ken1ohmichi@gmail.com> | Mon Aug 03 03:35:41 2015 +0000 |
tree | fe6d730e44256ac233aeb61a9426d31918f571c7 | |
parent | 20f66650265cb4a4f8cb117a5aa42da435d85e7b [diff] [blame] |
Make security_groups_client use **kwargs As we discussed on http://lists.openstack.org/pipermail/openstack-dev/2015-July/068864.html All http POST/PUT methods need to contain **kwargs as their arguments. This patch makes security_groups_client use **kwargs. Partially implements blueprint consistent-service-method-names Change-Id: I54792d5f80291b5bdd2f7896e08ac741597c1877
diff --git a/tempest/api/compute/base.py b/tempest/api/compute/base.py index 33442b2..2126787 100644 --- a/tempest/api/compute/base.py +++ b/tempest/api/compute/base.py
@@ -222,8 +222,8 @@ if description is None: description = data_utils.rand_name('description') body = \ - cls.security_groups_client.create_security_group(name, - description) + cls.security_groups_client.create_security_group( + name=name, description=description) cls.security_groups.append(body) return body