1 | Tue Jun 22 22:14:03 CEST 2010 freestorm77@gmail.com |
---|
2 | * runnin_test_directory_xhtml.dpatch |
---|
3 | |
---|
4 | Runnin test for diretory.xhtml top banner |
---|
5 | |
---|
6 | |
---|
7 | New patches: |
---|
8 | |
---|
9 | [runnin_test_directory_xhtml.dpatch |
---|
10 | freestorm77@gmail.com**20100622201403 |
---|
11 | Ignore-this: f8962463fce50b9466405cb59fe11d43 |
---|
12 | |
---|
13 | Runnin test for diretory.xhtml top banner |
---|
14 | |
---|
15 | ] hunk ./src/allmydata/test/test_web.py 988 |
---|
16 | d.addBoth(self.should404, "test_GET_FILEURL_uri_missing") |
---|
17 | return d |
---|
18 | |
---|
19 | + def test_GET_DIRECTORY_html_banner(self): |
---|
20 | + d = self.GET(self.public_url + "/foo", followRedirect=True) |
---|
21 | + def _check(res): |
---|
22 | + self.failUnlessIn('<div class="toolbar-item"><a href="../../..">Return to Welcome page</a></div>',res) |
---|
23 | + d.addCallback(_check) |
---|
24 | + return d |
---|
25 | + |
---|
26 | def test_GET_DIRURL(self): |
---|
27 | # the addSlash means we get a redirect here |
---|
28 | # from /uri/$URI/foo/ , we need ../../../ to get back to the root |
---|
29 | |
---|
30 | Context: |
---|
31 | |
---|
32 | [docs: about.html link to home page early on, and be decentralized storage instead of cloud storage this time around |
---|
33 | zooko@zooko.com**20100619065318 |
---|
34 | Ignore-this: dc6db03f696e5b6d2848699e754d8053 |
---|
35 | ] |
---|
36 | [docs: update about.html, especially to have a non-broken link to quickstart.html, and also to comment out the broken links to "for Paranoids" and "for Corporates" |
---|
37 | zooko@zooko.com**20100619065124 |
---|
38 | Ignore-this: e292c7f51c337a84ebfeb366fbd24d6c |
---|
39 | ] |
---|
40 | [TAG allmydata-tahoe-1.7.0 |
---|
41 | zooko@zooko.com**20100619052631 |
---|
42 | Ignore-this: d21e27afe6d85e2e3ba6a3292ba2be1 |
---|
43 | ] |
---|
44 | Patch bundle hash: |
---|
45 | b300293224abee54692c2eda62ff605a9fab889b |
---|