From: Daira Hopwood <daira@jacaranda.org>
Date: Sat, 27 Apr 2013 18:44:18 +0000 (+0100)
Subject: Improve skip messages for Azure tests.
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/flags/%3C?a=commitdiff_plain;h=8dea67a87f6bcaa10dcc1471dc6f147c0d403468;p=tahoe-lafs%2Ftahoe-lafs.git

Improve skip messages for Azure tests.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
---

diff --git a/src/allmydata/test/test_storage.py b/src/allmydata/test/test_storage.py
index 5b478f98..a64585bb 100644
--- a/src/allmydata/test/test_storage.py
+++ b/src/allmydata/test/test_storage.py
@@ -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(