From 854c906f587bf8c67eedacf7f3cc7795b93e279b Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Fri, 15 Oct 2010 01:03:42 -0500 Subject: [PATCH] Renaming is_cloudfiles_available -> is_swift_available --- tests/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils.py b/tests/utils.py index a11d7026b7..e54d392d7c 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -18,10 +18,10 @@ """Common utilities used in testing""" -def is_cloudfiles_available(): +def is_swift_available(): """Returns True if Swift/Cloudfiles is importable""" try: - import cloudfiles + import swift return True except ImportError: return False