Skip to content

Commit

Permalink
add some more (preliminary) tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benji-york committed Sep 11, 2007
1 parent 11c64ef commit a339437
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/zope/testbrowser/real.txt
Expand Up @@ -30,3 +30,11 @@

>>> browser.getLink(url='http://news.google.com/')
<Link text='News' url='http://news.google.com/nwshp?tab=in'>

>>> browser.getLink(url='http://')
Traceback (most recent call last):
...
AmbiguityError: url 'http://'

>>> browser.getLink(url='http://', index=3)
<Link text='Maps' url='http://maps.google.com/maps?tab=il'>

0 comments on commit a339437

Please sign in to comment.