From 518e4cec984ed967154949091e3c7a87abac5060 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 8 Jun 2012 15:21:46 -0700 Subject: [PATCH] Fix text in Publish Status results. Closes #1762. --- src/allmydata/test/test_system.py | 4 ++++ src/allmydata/web/publish-status.xhtml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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