Github user sanju1010 commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1377#discussion_r51680970
  
    --- Diff: test/integration/component/test_escalations_snapshots.py ---
    @@ -152,6 +156,34 @@ def __verify_values(self, expected_vals, actual_vals):
                                                                                
               ))
             return return_flag
     
    +    def createInstance(self, service_off, networks=None, api_client=None):
    +        """Creates an instance in account"""
    +
    +        if api_client is None:
    +            api_client = self.apiclient
    +
    +        self.debug("Deploying an instance in account: %s" %
    +                       self.account.name)
    +        try:
    +            vm = VirtualMachine.create(
    +                 api_client,
    +                 self.services["virtual_machine"],
    +                 templateid=self.template.id,
    +                 accountid=self.account.name,
    +                 domainid=self.account.domainid,
    +                 networkids=networks,
    +                 serviceofferingid=service_off.id)
    +            vms = VirtualMachine.list(api_client, id=vm.id, listall=True)
    +            self.assertIsInstance(vms,
    --- End diff --
    
    replace with validateList


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to