From: Brian Warner Date: Fri, 8 Jun 2012 22:21:46 +0000 (-0700) Subject: Fix text in Publish Status results. Closes #1762. X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=518e4cec984ed967154949091e3c7a87abac5060;p=tahoe-lafs%2Ftahoe-lafs.git Fix text in Publish Status results. Closes #1762. --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index f3b72f53..494069e8 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -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: diff --git a/src/allmydata/web/publish-status.xhtml b/src/allmydata/web/publish-status.xhtml index 87a0eb23..4204de8e 100644 --- a/src/allmydata/web/publish-status.xhtml +++ b/src/allmydata/web/publish-status.xhtml @@ -18,7 +18,7 @@
  • Status:
  • -

    Retrieve Results

    +

    Publish Results