mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-22 11:08:20 +00:00
Add debug output on tests being skipped
This commit is contained in:
1 parent
72d741a9b7
commit
9a65bbe12c
2 files changed
+6
-2
No files matched your search
+3
-1
@@ -23,8 +23,10 @@ try:
|
||||
swift_conn = swiftclient.Connection(auth_url, auth_username,
|
||||
auth_password, auth_version=1)
|
||||
else:
|
||||
print "Swift tests disabled: OpenStack creds not found in the environment"
|
||||
swift_conn = None
|
||||
except ImportError:
|
||||
except ImportError, e:
|
||||
print "Swift tests disabled: unable to import swiftclient", e
|
||||
swift_conn = None
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user