Fix text in Publish Status results. Closes #1762.
authorBrian Warner <warner@lothar.com>
Fri, 8 Jun 2012 22:21:46 +0000 (15:21 -0700)
committerBrian Warner <warner@lothar.com>
Fri, 8 Jun 2012 22:21:46 +0000 (15:21 -0700)
src/allmydata/test/test_system.py
src/allmydata/web/publish-status.xhtml

index f3b72f53ba07f0d76727b3b482eb365e8599fd6a..494069e8f623aaf2826725c0b5a641ac314e0f7d 100644 (file)
@@ -1218,8 +1218,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 87a0eb23d6ce66d935630ec35de357f3ec3b0b2e..4204de8e22afa3385d20708b8e427fda3f51b69b 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" />