From: Daira Hopwood Date: Thu, 5 Sep 2013 17:12:32 +0000 (+0100) Subject: Mon Mar 12 19:35:36 GMT 2012 Brian Warner X-Git-Url: https://git.rkrishnan.org/%3C?a=commitdiff_plain;h=6d00458a5e9ba77bbeec2d7d09be27a915f57f1f;p=tahoe-lafs%2Ftahoe-lafs.git Mon Mar 12 19:35:36 GMT 2012 Brian Warner * add some quick tests of the introducer/web improvements --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 4a5c6f4e..ec81e3a5 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -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))