Renaming is_cloudfiles_available -> is_swift_available

This commit is contained in:
Rick Harris 2010-10-15 01:03:42 -05:00
parent 8009d52305
commit 854c906f58

View File

@ -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