From d7d2b92cfff1e2bcd836d4a52e99fe44321c5a4a Mon Sep 17 00:00:00 2001 From: Kenneth Chu Date: Thu, 30 Jul 2015 13:35:51 -0400 Subject: [PATCH] Added test for `volume type show` Change-Id: I05bbbdd8389f57d567b02391cbbc52448a9a2e7a --- functional/tests/volume/v1/test_volume_type.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functional/tests/volume/v1/test_volume_type.py b/functional/tests/volume/v1/test_volume_type.py index 8b4a5da86e..c3568694ca 100644 --- a/functional/tests/volume/v1/test_volume_type.py +++ b/functional/tests/volume/v1/test_volume_type.py @@ -38,3 +38,8 @@ class VolumeTypeTests(test.TestCase): opts = self.get_list_opts(self.HEADERS) raw_output = self.openstack('volume type list' + opts) self.assertIn(self.NAME, raw_output) + + def test_volume_type_show(self): + opts = self.get_show_opts(self.FIELDS) + raw_output = self.openstack('volume type show ' + self.NAME + opts) + self.assertEqual(self.NAME + "\n", raw_output)