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"""
|
"""Common utilities used in testing"""
|
||||||
|
|
||||||
|
|
||||||
def is_cloudfiles_available():
|
def is_swift_available():
|
||||||
"""Returns True if Swift/Cloudfiles is importable"""
|
"""Returns True if Swift/Cloudfiles is importable"""
|
||||||
try:
|
try:
|
||||||
import cloudfiles
|
import swift
|
||||||
return True
|
return True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user