cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [3/3] git commit: refs/heads/marvin-refactor - fixing unittests
Date Mon, 18 Mar 2013 12:46:03 GMT
Updated Branches:
  refs/heads/marvin-refactor 6204c48f3 -> e46fe3490


fixing unittests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/e46fe349
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/e46fe349
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/e46fe349

Branch: refs/heads/marvin-refactor
Commit: e46fe3490873b53dc59ac1727790a6d65957b235
Parents: 70e1ff4
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Mon Mar 18 18:15:40 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Mon Mar 18 18:15:40 2013 +0530

----------------------------------------------------------------------
 .../integration/lib/factory/test/testFactories.py  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e46fe349/tools/marvin/marvin/integration/lib/factory/test/testFactories.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/integration/lib/factory/test/testFactories.py b/tools/marvin/marvin/integration/lib/factory/test/testFactories.py
index b541e8e..9572df5 100644
--- a/tools/marvin/marvin/integration/lib/factory/test/testFactories.py
+++ b/tools/marvin/marvin/integration/lib/factory/test/testFactories.py
@@ -22,7 +22,7 @@ from marvin.cloudstackTestClient import cloudstackTestClient
 
 class AccountFactoryTest(unittest.TestCase):
     def setUp(self):
-        self.apiClient = cloudstackTestClient(mgtSvr='localhost')
+        self.apiClient = cloudstackTestClient(mgtSvr='localhost').getApiClient()
 
     def test_userAccountFactory(self):
         af = AccountFactory.AccountFactory()
@@ -40,4 +40,4 @@ class AccountFactoryTest(unittest.TestCase):
         self.assertTrue(accnt is not None, msg="no account created by factory")
 
     def tearDown(self):
-        self.apiClient.close()
\ No newline at end of file
+        pass


Mime
View raw message