Merge "Fail sensibly if swiftclient absent in test"
This commit is contained in:
commit
dfbdd5f457
@ -82,8 +82,7 @@ def swift_connect(auth_url, auth_version, user, key):
|
||||
snet=False,
|
||||
retries=1)
|
||||
except AttributeError:
|
||||
msg = "Could not find swiftclient module"
|
||||
self.skipTest(msg)
|
||||
raise SwiftStoreError("Could not find swiftclient module")
|
||||
|
||||
|
||||
def swift_list_containers(swift_conn):
|
||||
|
Loading…
x
Reference in New Issue
Block a user