diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-02-23 18:02:55 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-02-23 18:02:56 +0000 |
| commit | c2f5945ef62117771d6cff411d6071052c085d30 (patch) | |
| tree | fa573e702f658a1fa20a7c0c9c41381768b4dd2e /functional | |
| parent | ab40add0c6a46bbdbbd7d90764c4ea5076373a64 (diff) | |
| parent | dccde70c57baf9266a795a54198238515d7fdda6 (diff) | |
| download | python-openstackclient-c2f5945ef62117771d6cff411d6071052c085d30.tar.gz | |
Merge "Add "security group rule show" command"
Diffstat (limited to 'functional')
| -rw-r--r-- | functional/tests/network/v2/test_security_group_rule.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/functional/tests/network/v2/test_security_group_rule.py b/functional/tests/network/v2/test_security_group_rule.py index e864b08f..9c0b66e8 100644 --- a/functional/tests/network/v2/test_security_group_rule.py +++ b/functional/tests/network/v2/test_security_group_rule.py @@ -57,3 +57,10 @@ class SecurityGroupRuleTests(test.TestCase): self.SECURITY_GROUP_NAME + opts) self.assertIn(self.SECURITY_GROUP_RULE_ID, raw_output) + + def test_security_group_rule_show(self): + opts = self.get_show_opts(self.ID_FIELD) + raw_output = self.openstack('security group rule show ' + + self.SECURITY_GROUP_RULE_ID + + opts) + self.assertEqual(self.SECURITY_GROUP_RULE_ID + "\n", raw_output) |
