예제 #1
0
 def assertNotContainsHtml(self, response, *args):
     for html in args:
         try:
             self.assertNotContains(response, html, html=True)
         except AssertionError as e:
             debug_response(response, msg="%s" % e)  # from django-tools
             raise
예제 #2
0
 def assertNotContainsHtml(self, response, *args):
     for html in args:
         try:
             self.assertNotContains(response, html, html=True)
         except AssertionError, e:
             debug_response(response, msg="%s" % e) # from django-tools
             raise
예제 #3
0
 def assertNotContainsHtml(self, response, *args):
     for html in args:
         try:
             self.assertNotContains(response, html, html=True)
         except AssertionError as e:  # pragma: no cover
             # Needs no coverage as the test should pass to be successful
             debug_response(response, msg="%s" % e)  # from django-tools
             raise
 def assertNotContainsHtml(self, response, *args):
     for html in args:
         try:
             self.assertNotContains(response, html, html=True)
         except AssertionError as e:  # pragma: no cover
             # Needs no coverage as the test should pass to be successful
             debug_response(response, msg="%s" % e)  # from django-tools
             raise