summaryrefslogtreecommitdiff
path: root/heatclient/tests/functional/test_readonly_heat.py
diff options
context:
space:
mode:
Diffstat (limited to 'heatclient/tests/functional/test_readonly_heat.py')
-rw-r--r--heatclient/tests/functional/test_readonly_heat.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/heatclient/tests/functional/test_readonly_heat.py b/heatclient/tests/functional/test_readonly_heat.py
index ab04566..63e2588 100644
--- a/heatclient/tests/functional/test_readonly_heat.py
+++ b/heatclient/tests/functional/test_readonly_heat.py
@@ -89,3 +89,8 @@ class SimpleReadOnlyHeatClientTest(base.ClientTestBase):
def test_heat_version(self):
self.heat('', flags='--version')
+
+ def test_heat_template_version_list(self):
+ ret = self.heat('template-version-list')
+ tmpl_types = self.parser.listing(ret)
+ self.assertTableStruct(tmpl_types, ['version', 'type'])