mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-8048: Fix test_ss_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
aa84b05491
commit
0977140043
@ -233,7 +233,14 @@ class TestSecondaryStorageLimits(cloudstackTestCase):
|
||||
except Exception as e:
|
||||
self.fail("Failed to create template: %s" % e)
|
||||
|
||||
templateSize = (template.size / (1024**3))
|
||||
templates = Template.list(apiclient,
|
||||
templatefilter=\
|
||||
self.services["template_2"]["templatefilter"],
|
||||
id=template.id)
|
||||
self.assertEqual(validateList(templates)[0],PASS,\
|
||||
"templates list validation failed")
|
||||
|
||||
templateSize = (templates[0].size / (1024**3))
|
||||
response = matchResourceCount(self.apiclient, templateSize,
|
||||
resourceType=RESOURCE_SECONDARY_STORAGE,
|
||||
accountid=self.account.id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user