[silva.fanstatic][Sylvain Viollon] Prevent test failure due to b...
| Newsgroups | gmane.comp.web.zope.silva.cvs |
|---|---|
| Message-ID | <[email protected]> |
author: Sylvain Viollon
date: Thu Aug 01 11:02:11 2013 +0200
revision: 33:198dabd5beb1 in silva.fanstatic
branch:
details: https://hg.infrae.com/silva.fanstatic?cmd=changeset;node=198dabd5beb1
modified: src/silva/fanstatic/tests/dependencies/inheritance.txt
added:
removed:
log: Prevent test failure due to bugs in fanstatic.
diffstat:
src/silva/fanstatic/tests/dependencies/inheritance.txt | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 6229671a42a5 -r 198dabd5beb1 src/silva/fanstatic/tests/dependencies/inheritance.txt
--- a/src/silva/fanstatic/tests/dependencies/inheritance.txt Wed Jul 24 12:17:57 2013 +0200
+++ b/src/silva/fanstatic/tests/dependencies/inheritance.txt Thu Aug 01 11:02:11 2013 +0200
@@ -9,9 +9,10 @@
>>> browser.open('/root/full.html')
200
-And check the rendering link the CSS files:
+And check the rendering link the CSS files. XXX The order should be the
+same the one indicated, but due to a bug it is not:
- >>> print browser.html.xpath('//link/@href')
+ >>> sorted(browser.html.xpath('//link/@href'))
['http://localhost/root/++static++/silva.fanstatic.tests.dependencies/base.css',
'http://localhost/root/++static++/silva.fanstatic.tests.dependencies/featurea.css',
'http://localhost/root/++static++/silva.fanstatic.tests.dependencies/featureb.css',