Fix text in Publish Status results. Closes #1762.

This commit is contained in:
Brian Warner 2012-06-08 15:21:46 -07:00
parent 188c7fecf5
commit 518e4cec98
2 changed files with 5 additions and 1 deletions

View File

@ -1218,8 +1218,12 @@ class SystemTest(SystemTestMixin, RunBinTahoeMixin, unittest.TestCase):
return self.GET("status/publish-%d" % self._publish_status) return self.GET("status/publish-%d" % self._publish_status)
d.addCallback(_got_update) d.addCallback(_got_update)
def _got_publish(res): def _got_publish(res):
self.failUnlessIn("Publish Results", res)
return self.GET("status/retrieve-%d" % self._retrieve_status) return self.GET("status/retrieve-%d" % self._retrieve_status)
d.addCallback(_got_publish) d.addCallback(_got_publish)
def _got_retrieve(res):
self.failUnlessIn("Retrieve Results", res)
d.addCallback(_got_retrieve)
# check that the helper status page exists # check that the helper status page exists
d.addCallback(lambda res: d.addCallback(lambda res:

View File

@ -18,7 +18,7 @@
<li>Status: <span n:render="status"/></li> <li>Status: <span n:render="status"/></li>
</ul> </ul>
<h2>Retrieve Results</h2> <h2>Publish Results</h2>
<ul> <ul>
<li n:render="encoding" /> <li n:render="encoding" />
<li n:render="problems" /> <li n:render="problems" />