mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
14 lines
446 B
Python
14 lines
446 B
Python
import unittest
|
|
import random
|
|
from cloudstackAPI import *
|
|
class TestCase2(unittest.case.TestCase):
|
|
|
|
def test_cloudstackapi1(self):
|
|
apiClient = self.testClient.getApiClient()
|
|
listtmcmd = listTemplates.listTemplatesCmd()
|
|
listtmcmd.id = 10
|
|
listtmcmd.zoneid = 1
|
|
listtmcmd.templatefilter = "featured"
|
|
listtmresponse = apiClient.listTemplates(listtmcmd)
|
|
self.debug(listtmresponse[0].isready)
|