Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- replaceafill@system76:~/dev/sandboxes/fixes/schooltool$ bzr diff
- === modified file 'src/schooltool/app/browser/stests/server_tabs.txt'
- --- src/schooltool/app/browser/stests/server_tabs.txt 2012-03-24 04:24:38 +0000
- +++ src/schooltool/app/browser/stests/server_tabs.txt 2013-11-06 04:08:19 +0000
- @@ -34,7 +34,8 @@
- setting for the default tab. We do not allow control over the Server and
- School tabs.
- - >>> print manager.query_all.xpath('//div[@class="body"]//input[@type="radio"]')
- + >>> for input in manager.query_all.xpath('//div[@class="body"]//input[@type="radio"]')[:2]:
- + ... print input
- <input name="default_tab" type="radio" value="home" />
- <input checked="checked" name="default_tab" type="radio" value="calendar" />
- @@ -43,7 +44,8 @@
- disabled because we can't allow a tab to be hidden if it is currently the
- default tab.
- - >>> print manager.query_all.xpath('//div[@class="body"]//input[@type="checkbox"]')
- + >>> for input in manager.query_all.xpath('//div[@class="body"]//input[@type="checkbox"]')[:2]:
- + ... print input
- <input checked="checked" name="visible:list" type="checkbox" value="home" />
- <input checked="checked" disabled="disabled" name="visible:list" type="checkbox" value="calendar" />
- @@ -52,7 +54,8 @@
- checkbox enabled.
- >>> manager.query.xpath('//div[@class="body"]//input[@type="radio"][@value="home"]').click()
- - >>> print manager.query_all.xpath('//div[@class="body"]//input[@type="checkbox"]')
- + >>> for input in manager.query_all.xpath('//div[@class="body"]//input[@type="checkbox"]')[:2]:
- + ... print input
- <input checked="checked" disabled="disabled" name="visible:list" type="checkbox" value="home" />
- <input checked="checked" name="visible:list" type="checkbox" value="calendar" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement