diff options
| author | Thobias Salazar Trevisan <thobiast@gmail.com> | 2021-11-25 16:23:10 -0300 |
|---|---|---|
| committer | Thobias Salazar Trevisan <thobiast@gmail.com> | 2022-03-15 08:56:59 -0300 |
| commit | e91e0e001c8c46f33f0a67860e78b6bc285b4ecb (patch) | |
| tree | 35256c788f1bfabda76878300e67aac21d5da363 /openstackclient/tests | |
| parent | c9b84106c3a1bd9fe23894d668a8b1533125206e (diff) | |
| download | python-openstackclient-e91e0e001c8c46f33f0a67860e78b6bc285b4ecb.tar.gz | |
compute: Add 'Security Groups' for 'server list'
Add a column with security groups name for
--long option on server list.
Change-Id: I7062f224e18c3c8ac96a06d7ce97f9fab473bdb9
Diffstat (limited to 'openstackclient/tests')
| -rw-r--r-- | openstackclient/tests/unit/compute/v2/test_server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openstackclient/tests/unit/compute/v2/test_server.py b/openstackclient/tests/unit/compute/v2/test_server.py index 18878109..46ace579 100644 --- a/openstackclient/tests/unit/compute/v2/test_server.py +++ b/openstackclient/tests/unit/compute/v2/test_server.py @@ -4485,6 +4485,7 @@ class TestServerList(_TestServerList): '-c', 'Project ID', '-c', 'User ID', '-c', 'Created At', + '-c', 'Security Groups', '--long' ] verifylist = [ @@ -4498,6 +4499,7 @@ class TestServerList(_TestServerList): self.assertIn('Project ID', columns) self.assertIn('User ID', columns) self.assertIn('Created At', columns) + self.assertIn('Security Groups', columns) def test_server_list_no_name_lookup_option(self): self.data = tuple( |
