QA: Split function to set and parse instance policies
[ganeti-local] / qa / qa_tags.py
index 9aed419..834f7a8 100644 (file)
@@ -82,4 +82,4 @@ def TestGroupTags(group):
 
 def TestInstanceTags(instance):
   """gnt-instance tags"""
-  _TestTags(constants.TAG_INSTANCE, instance["name"])
+  _TestTags(constants.TAG_INSTANCE, instance.name)