mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 15:16:41 +00:00
add some quick tests of the introducer/web improvements
This commit is contained in:
parent
e27423e4a9
commit
dc28e3144a
@ -785,12 +785,16 @@ class SystemTest(SystemTestMixin, RunBinTahoeMixin, unittest.TestCase):
|
|||||||
self.failUnless((appverstr in res) or (newappverstr in res), (appverstr, newappverstr, res))
|
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("Announcement Summary: storage: 5, stub_client: 5" in res)
|
||||||
self.failUnless("Subscription Summary: storage: 5" in res)
|
self.failUnless("Subscription Summary: storage: 5" in res)
|
||||||
|
self.failUnless("tahoe.css" in res)
|
||||||
except unittest.FailTest:
|
except unittest.FailTest:
|
||||||
print
|
print
|
||||||
print "GET %s output was:" % self.introweb_url
|
print "GET %s output was:" % self.introweb_url
|
||||||
print res
|
print res
|
||||||
raise
|
raise
|
||||||
d.addCallback(_check)
|
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:
|
d.addCallback(lambda res:
|
||||||
getPage(self.introweb_url + "?t=json",
|
getPage(self.introweb_url + "?t=json",
|
||||||
method="GET", followRedirect=True))
|
method="GET", followRedirect=True))
|
||||||
|
Loading…
Reference in New Issue
Block a user