Renaming is_cloudfiles_available -> is_swift_available
This commit is contained in:
parent
8009d52305
commit
854c906f58
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user