]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Mon Mar 12 19:35:36 GMT 2012 Brian Warner <warner@lothar.com>
authorDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 17:12:32 +0000 (18:12 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 17:12:32 +0000 (18:12 +0100)
  * add some quick tests of the introducer/web improvements

src/allmydata/test/test_system.py

index 4a5c6f4ebddfb78f6871173c81fe4828e0b59008..ec81e3a5ced3b5ed6d62e3fead44121af77a60e2 100644 (file)
@@ -791,12 +791,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))