Add simple QA tests for remote API
[ganeti-local] / qa / qa_tags.py
index bde9441..7cccced 100644 (file)
@@ -66,6 +66,9 @@ def _TestTags(kind, name):
   AssertEqual(StartSSH(master['primary'],
                        utils.ShellQuoteArgs(cmd)).wait(), 0)
 
+  if qa_rapi.Enabled():
+    qa_rapi.TestTags(kind, name, _TEMP_TAG_NAMES)
+
   cmd = cmdfn('remove-tags') + _TEMP_TAG_NAMES
   AssertEqual(StartSSH(master['primary'],
                        utils.ShellQuoteArgs(cmd)).wait(), 0)