summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/extensions/foxinsocks/__init__.py19
-rw-r--r--nova/tests/api/openstack/extensions/foxinsocks/foxinsocks.py (renamed from nova/tests/api/openstack/extensions/foxinsocks.py)2
2 files changed, 20 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/extensions/foxinsocks/__init__.py b/nova/tests/api/openstack/extensions/foxinsocks/__init__.py
new file mode 100644
index 000000000..fe505359d
--- /dev/null
+++ b/nova/tests/api/openstack/extensions/foxinsocks/__init__.py
@@ -0,0 +1,19 @@
+# vim: tabstop=4 shiftwidth=4 softtabstop=4
+
+# Copyright 2011 OpenStack LLC.
+# Copyright 2011 Justin Santa Barbara
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.import datetime
+
+"""Example Fox-in-Socks extension."""
diff --git a/nova/tests/api/openstack/extensions/foxinsocks.py b/nova/tests/api/openstack/extensions/foxinsocks/foxinsocks.py
index 0860b51ac..442707714 100644
--- a/nova/tests/api/openstack/extensions/foxinsocks.py
+++ b/nova/tests/api/openstack/extensions/foxinsocks/foxinsocks.py
@@ -28,7 +28,7 @@ class FoxInSocksController(wsgi.Controller):
return "Try to say this Mr. Knox, sir..."
-class Foxinsocks(object):
+class Foxinsocks(extensions.ExtensionDescriptor):
def __init__(self):
pass