From dc28e3144ae7bc90ab43625a37316e98220b36f0 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 12 Mar 2012 12:35:36 -0700 Subject: [PATCH] add some quick tests of the introducer/web improvements --- src/allmydata/test/test_system.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index ccf3cad4..3cbaa7c9 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -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)) -- 2.45.2