]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Improve skip messages for Azure tests.
authorDaira Hopwood <daira@jacaranda.org>
Sat, 27 Apr 2013 18:44:18 +0000 (19:44 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 17 Apr 2015 21:31:39 +0000 (22:31 +0100)
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/test/test_storage.py

index 5b478f98bad5fbf76d1ba1d4a9c63dc0687d8b08..a64585bbed3b29ec2ff63a220bcd1120b3bafaef 100644 (file)
@@ -1176,14 +1176,16 @@ class MSAzureAuthentication(unittest.TestCase):
                 result)
         if azure_buggy:
             # The reference client is buggy in this case, skip it
-            raise unittest.SkipTest("Azure reference client is buggy in this case")
+            raise unittest.SkipTest("Azure reference client is buggy in this case.")
 
         # Now, compare our result to that of the Microsoft-provided
         # implementation, if available:
         try:
             from azure.storage import _sign_storage_blob_request
         except ImportError:
-            raise unittest.SkipTest("No azure installed")
+            raise unittest.SkipTest("""No azure installed.
+The 'azure' package is not used by the Azure support in the cloud backend; it is only
+used (optionally) by tests to confirm compatibility with Microsoft's reference client.""")
 
         request = self.FakeRequest(method, url, headers)
         self.failUnlessEqual(