def ItShouldNotRaiseAnExceptionWhenLinkIsFound(self):
     assert_that( "<a href='/potato'></a>", is_(containingALinkTowards("/potato")))
 def ItShouldRaiseAnExceptionWhenLinkIsNotFound(self):
     try:
         assert_that( "<a href='/rotato'></a>", is_(containingALinkTowards("/potato")))
         raise Exception
     except (AssertionError, ), e:
         pass