summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorTodd Willey <todd@rubidine.com>2010-07-14 19:51:38 -0400
committerTodd Willey <todd@rubidine.com>2010-07-14 19:51:38 -0400
commitced951677c72307f173d37ef6d119d3202ace355 (patch)
tree6505146ccfa591dabbcda1236a9a15334f7d7d3b /nova/tests
parent09f69254b5af4b9ee40f9848e47f1b2187599cb5 (diff)
Finish singletonizing UserManager usage.
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api_unittest.py2
-rw-r--r--nova/tests/validator_unittest.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/nova/tests/api_unittest.py b/nova/tests/api_unittest.py
index a796ab41e..d82089e6f 100644
--- a/nova/tests/api_unittest.py
+++ b/nova/tests/api_unittest.py
@@ -159,7 +159,7 @@ class ApiEc2TestCase(test.BaseTestCase):
self.host = '127.0.0.1'
- self.app = api.APIServerApplication(self.users, {'Cloud': self.cloud})
+ self.app = api.APIServerApplication({'Cloud': self.cloud})
self.ec2 = boto.connect_ec2(
aws_access_key_id='fake',
aws_secret_access_key='fake',
diff --git a/nova/tests/validator_unittest.py b/nova/tests/validator_unittest.py
index 6ebce0994..eea1beccb 100644
--- a/nova/tests/validator_unittest.py
+++ b/nova/tests/validator_unittest.py
@@ -42,5 +42,4 @@ class ValidationTestCase(test.TrialTestCase):
@validate.typetest(instanceid=str, size=int, number_of_instances=int)
def type_case(instanceid, size, number_of_instances):
- print ("type_case was successfully executed")
- return True \ No newline at end of file
+ return True