From a9201fc379e3c0b5154b03318694b7ee83a79ff7 Mon Sep 17 00:00:00 2001 From: Clay Gerrard <clay.gerrard@rackspace.com> Date: Tue, 22 Feb 2011 22:25:38 -0600 Subject: [PATCH] i need to pull in the changes to functionalnosetest/swift_testing.py --- test/__init__.py | 1 + test/functional/swift.py | 1 + test/functional/tests.py | 1 + 3 files changed, 3 insertions(+) diff --git a/test/__init__.py b/test/__init__.py index a4a71853eb..7579a35555 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -2,6 +2,7 @@ # The code below enables nosetests to work with i18n _() blocks import __builtin__ +import sys import os from ConfigParser import MissingSectionHeaderError diff --git a/test/functional/swift.py b/test/functional/swift.py index 465af202a7..9d395511b2 100644 --- a/test/functional/swift.py +++ b/test/functional/swift.py @@ -78,6 +78,7 @@ def listing_items(method): else: items = [] + class Connection(object): def __init__(self, config): for key in 'auth_host auth_port auth_ssl username password'.split(): diff --git a/test/functional/tests.py b/test/functional/tests.py index 6afcd22a0e..a65168fd62 100644 --- a/test/functional/tests.py +++ b/test/functional/tests.py @@ -37,6 +37,7 @@ config = get_func_test_config() locale.setlocale(locale.LC_COLLATE, config.get('collate', 'C')) + class Base: pass