]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix test failures in test_web caused by changes to web page titles in #1062. Also...
authordavid-sarah <david-sarah@jacaranda.org>
Thu, 3 Jun 2010 23:21:05 +0000 (16:21 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Thu, 3 Jun 2010 23:21:05 +0000 (16:21 -0700)
src/allmydata/test/test_web.py
src/allmydata/web/welcome.xhtml

index 7761065b42b6ec1da4421b4da2601ea5a777e088..6faa4cb92799771c143440a5bc4671fbcf109046 100644 (file)
@@ -402,7 +402,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase):
     def test_provisioning(self):
         d = self.GET("/provisioning/")
         def _check(res):
-            self.failUnless('Tahoe Provisioning Tool' in res)
+            self.failUnless('Provisioning Tool' in res)
             fields = {'filled': True,
                       "num_users": int(50e3),
                       "files_per_user": 1000,
@@ -420,7 +420,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase):
 
         d.addCallback(_check)
         def _check2(res):
-            self.failUnless('Tahoe Provisioning Tool' in res)
+            self.failUnless('Provisioning Tool' in res)
             self.failUnless("Share space consumed: 167.01TB" in res)
 
             fields = {'filled': True,
@@ -460,7 +460,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase):
 
         d = self.GET("/reliability/")
         def _check(res):
-            self.failUnless('Tahoe Reliability Tool' in res)
+            self.failUnless('Reliability Tool' in res)
             fields = {'drive_lifetime': "8Y",
                       "k": "3",
                       "R": "7",
@@ -474,7 +474,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase):
 
         d.addCallback(_check)
         def _check2(res):
-            self.failUnless('Tahoe Reliability Tool' in res)
+            self.failUnless('Reliability Tool' in res)
             r = r'Probability of loss \(no maintenance\):\s+<span>0.033591'
             self.failUnless(re.search(r, res), res)
         d.addCallback(_check2)
index 4c123f58fd61f863e17ef29cec6df85192f760fa..204f93e8f7e6dca7a398bbc5ef47dcbfc7cfc5b3 100644 (file)
@@ -88,7 +88,7 @@
 <div class="section" id="other-resources">
   <h2>Other Resources</h2>
 
-  <div>Please visit the <a target="blank" href="http://tahoe-lafs.org">Tahoe-LAFS home page</a> for
+  <div>Please visit the <a target="_blank" href="http://tahoe-lafs.org">Tahoe-LAFS home page</a> for
   code updates and bug reporting.</div>
 
   <div>The <a href="provisioning">provisioning tool</a> and <a