]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
add some quick tests of the introducer/web improvements
authorBrian Warner <warner@lothar.com>
Mon, 12 Mar 2012 19:35:36 +0000 (12:35 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 12 Mar 2012 19:35:36 +0000 (12:35 -0700)
src/allmydata/test/test_system.py

index ccf3cad474f991b129cf2520beaddf6e20a601f0..3cbaa7c9cbfecfbb712cae60bdf4dbb540275d58 100644 (file)
@@ -785,12 +785,16 @@ class SystemTest(SystemTestMixin, RunBinTahoeMixin, unittest.TestCase):
                 self.failUnless((appverstr in res) or (newappverstr in res), (appverstr, newappverstr, res))
                 self.failUnless("Announcement Summary: storage: 5, stub_client: 5" in res)
                 self.failUnless("Subscription Summary: storage: 5" in res)
+                self.failUnless("tahoe.css" in res)
             except unittest.FailTest:
                 print
                 print "GET %s output was:" % self.introweb_url
                 print res
                 raise
         d.addCallback(_check)
+        # make sure it serves the CSS too
+        d.addCallback(lambda res:
+                      getPage(self.introweb_url+"tahoe.css", method="GET"))
         d.addCallback(lambda res:
                       getPage(self.introweb_url + "?t=json",
                               method="GET", followRedirect=True))