incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [1/3] git commit: marvin: assertion check when fetching featured templates
Date Mon, 10 Dec 2012 06:16:59 GMT
Updated Branches:
  refs/heads/master 400d29be8 -> 7d4e65740


marvin: assertion check when fetching featured templates


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/7d4e6574
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7d4e6574
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7d4e6574

Branch: refs/heads/master
Commit: 7d4e65740b574a7ffd0c3cbaba9d930f2e930951
Parents: 3ba8dc4
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Sun Dec 9 22:14:02 2012 -0800
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Sun Dec 9 22:15:38 2012 -0800

----------------------------------------------------------------------
 tools/marvin/marvin/integration/lib/common.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7d4e6574/tools/marvin/marvin/integration/lib/common.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/integration/lib/common.py b/tools/marvin/marvin/integration/lib/common.py
index de68178..05c6a1a 100644
--- a/tools/marvin/marvin/integration/lib/common.py
+++ b/tools/marvin/marvin/integration/lib/common.py
@@ -126,6 +126,7 @@ def get_template(apiclient, zoneid, ostype, services=None):
 
     list_templates = apiclient.listTemplates(cmd)
 
+    assert len(list_templates) > 0
     for template in list_templates:
         if template.ostypeid == ostypeid:
             return template


Mime
View raw message