Updated Branches: refs/heads/master cd7f77161 -> 1b8e17255
integration test fix: test iso - obj reference within classmethod Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/1b8e1725 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/1b8e1725 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/1b8e1725 Branch: refs/heads/master Commit: 1b8e17255f24a3e6aaf2265b1c3f8e27377eca76 Parents: cd7f771 Author: Prasanna Santhanam <[email protected]> Authored: Thu Jan 10 20:29:12 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Thu Jan 10 20:29:12 2013 +0530 ---------------------------------------------------------------------- test/integration/smoke/test_iso.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1b8e1725/test/integration/smoke/test_iso.py ---------------------------------------------------------------------- diff --git a/test/integration/smoke/test_iso.py b/test/integration/smoke/test_iso.py index 22d424f..8228a27 100644 --- a/test/integration/smoke/test_iso.py +++ b/test/integration/smoke/test_iso.py @@ -219,14 +219,14 @@ class TestISO(cloudstackTestCase): # Finding the OsTypeId from Ostype ostypes = list_os_types( cls.api_client, - description=self.services["ostype"] + description=cls.services["ostype"] ) if not isinstance(ostypes, list): raise unittest.SkipTest("OSTypeId for given description not found") - self.services["iso_1"]["ostypeid"] = ostypes[0].id - self.services["iso_2"]["ostypeid"] = ostypes[0].id - self.services["ostypeid"] = ostypes[0].id + cls.services["iso_1"]["ostypeid"] = ostypes[0].id + cls.services["iso_2"]["ostypeid"] = ostypes[0].id + cls.services["ostypeid"] = ostypes[0].id cls.iso_1 = Iso.create( cls.api_client,
