[silva.fanstatic][Sylvain Viollon] Fix broken test.
[email protected] Tue, 24 Sep 2013 12:51:09 +0200
| Newsgroups | gmane.comp.web.zope.silva.cvs |
|---|---|
| Message-ID | <[email protected]> |
author: Sylvain Viollon
date: Tue Sep 24 12:51:01 2013 +0200
revision: 35:fad82905c11e in silva.fanstatic
branch:
details: https://hg.infrae.com/silva.fanstatic?cmd=changeset;node=fad82905c11e
modified: src/silva/fanstatic/tests/dependencies/inheritance.txt
added:
removed:
log: Fix broken test.
diffstat:
src/silva/fanstatic/tests/dependencies/inheritance.txt | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (15 lines):
diff -r 7f61513f771d -r fad82905c11e src/silva/fanstatic/tests/dependencies/inheritance.txt
--- a/src/silva/fanstatic/tests/dependencies/inheritance.txt Mon Aug 19 15:11:12 2013 +0200
+++ b/src/silva/fanstatic/tests/dependencies/inheritance.txt Tue Sep 24 12:51:01 2013 +0200
@@ -12,8 +12,6 @@
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:
- >>> 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',
- 'http://localhost/root/++static++/silva.fanstatic.tests.dependencies/full.css']
+ >>> urls = browser.html.xpath('//link/@href')
+ >>> len(urls)
+ 1