cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shwetaag <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1401: automated 9277 9276 9275 9274 9273 9179 9178 ...
Date Fri, 17 Feb 2017 08:38:59 GMT
Github user shwetaag commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1401#discussion_r101708312
  
    --- Diff: test/integration/component/test_project_usage.py ---
    @@ -221,10 +219,35 @@ def test_01_vm_usage(self):
             #    VM.Destroy and volume .delete Event for the created account
             # 4. Delete the account
     
    +        projectlist=Project.list(self.apiclient,account=self.account.name,
    +                                 domainid=self.account.domainid,id=self.project.id)
    +
    +        self.assertEqual(projectlist[0].vmrunning,0,"vmrunning value is not returned")
    --- End diff --
    
    added hasattr function to verify attributes presence


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message