]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fri Jun 8 23:21:46 BST 2012 Brian Warner <warner@lothar.com>
authorDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 16:47:42 +0000 (17:47 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 16:47:42 +0000 (17:47 +0100)
  * Fix text in Publish Status results. Closes #1762.

src/allmydata/test/test_system.py
src/allmydata/web/publish-status.xhtml

index 61e8d87b46263454dffff34b71db865f42e1021c..4a5c6f4ebddfb78f6871173c81fe4828e0b59008 100644 (file)
@@ -1220,8 +1220,12 @@ class SystemTest(SystemTestMixin, RunBinTahoeMixin, unittest.TestCase):
             return self.GET("status/publish-%d" % self._publish_status)
         d.addCallback(_got_update)
         def _got_publish(res):
+            self.failUnlessIn("Publish Results", res)
             return self.GET("status/retrieve-%d" % self._retrieve_status)
         d.addCallback(_got_publish)
+        def _got_retrieve(res):
+            self.failUnlessIn("Retrieve Results", res)
+        d.addCallback(_got_retrieve)
 
         # check that the helper status page exists
         d.addCallback(lambda res:
index 38e6dacbcb0798ee58ca5e3609d242389a2b4d84..06d9b08be3a4443140f18733be27af2f20812949 100644 (file)
@@ -18,7 +18,7 @@
   <li>Status: <span n:render="status"/></li>
 </ul>
 
-<h2>Retrieve Results</h2>
+<h2>Publish Results</h2>
 <ul>
   <li n:render="encoding" />
   <li n:render="problems" />