summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2011-03-16 15:44:45 -0700
committerJustin Santa Barbara <justin@fathomdb.com>2011-03-16 15:44:45 -0700
commitaecd4eb9d363875cd84be5aa6fdb9afeb500b4f4 (patch)
tree85a6355781f31a61c816ef2a5ad9773dfeaea565
parent65b11b3b9c76db2440d480bbc41b72f24bee8afc (diff)
downloadnova-aecd4eb9d363875cd84be5aa6fdb9afeb500b4f4.tar.gz
nova-aecd4eb9d363875cd84be5aa6fdb9afeb500b4f4.tar.xz
nova-aecd4eb9d363875cd84be5aa6fdb9afeb500b4f4.zip
Fix __init__ method on unit tests (they take a method_name kwarg)
-rw-r--r--nova/tests/api/openstack/test_images.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/api/openstack/test_images.py b/nova/tests/api/openstack/test_images.py
index 9a33236af..8814b9b1a 100644
--- a/nova/tests/api/openstack/test_images.py
+++ b/nova/tests/api/openstack/test_images.py
@@ -45,8 +45,8 @@ class _BaseImageServiceTests(test.TestCase):
"""Tasks to test for all image services"""
- def __init__(self):
- super(_BaseImageServiceTests, self).__init__()
+ def __init__(self, *args, **kwargs):
+ super(_BaseImageServiceTests, self).__init__(*args, **kwargs)
self.service = None
self.context = None