<NME> webtest.py
<BEF> # for compatibility, expose cheroot webtest here
import warnings

from cheroot.test.webtest import (  # noqa
    interface,
    WebCase, cleanHeaders, shb, openURL,
    ServerError, server_error,
)


warnings.warn('Use cheroot.test.webtest', DeprecationWarning)
        """Fail if value not in self.body."""
        if value not in self.body:
            if msg is None:
                msg = '%r not in body' % value
            self._handlewebError(msg)
    
    def assertNotInBody(self, value, msg=None):

<MSG> trunk - making assertInBody the same as in python3 branch.

<DFF> @@ -438,7 +438,7 @@ class WebCase(TestCase):
         """Fail if value not in self.body."""
         if value not in self.body:
             if msg is None:
-                msg = '%r not in body' % value
+                msg = '%r not in body: %s' % (value, self.body)
             self._handlewebError(msg)
     
     def assertNotInBody(self, value, msg=None):

{'commit': 'diff --git a/cherrypy/test/webtest.py b/cherrypy/test/webtest.py\nindex d6b198e6..d6c79bdf 100644\n--- a/cherrypy/test/webtest.py\n+++ b/cherrypy/test/webtest.py\n@@ -438,7 +438,7 @@ class WebCase(TestCase):\n         """Fail if value not in self.body."""\n         if value not in self.body:\n             if msg is None:\n-                msg = \'%r not in body\' % value\n+                msg = \'%r not in body: %s\' % (value, self.body)\n             self._handlewebError(msg)\n     \n     def assertNotInBody(self, value, msg=None):\n', 'commit_subject': 'trunk - making assertInBody the same as in python3 branch.', 'repo_name': 'cherrypy/cherrypy', 'committer': {'name': 'Lakin Wecker', 'email': '71f8e7976e4cbc4561c9d62fb283e7f788202acb@none', 'time_sec': '1243960184', 'tz_offset': '0', 'date': {'seconds': '1243960184'}}, 'commit_tree': '6d21d3aa032963fc14770a089954b4366f42b9d8', 'commit_message': 'trunk - making assertInBody the same as in python3 branch.\n', 'language_name': 'HTML', 'license': 'bsd-3-clause', 'hunks': '@@ -438,7 +438,7 @@ class WebCase(TestCase):\n         """Fail if value not in self.body."""\n         if value not in self.body:\n             if msg is None:\n-                msg = \'%r not in body\' % value\n+                msg = \'%r not in body: %s\' % (value, self.body)\n             self._handlewebError(msg)\n     \n     def assertNotInBody(self, value, msg=None):\n', 'addition_count': 1, 'deletion_count': 1, 'src_file': 'a/cherrypy/test/webtest.py', 'tgt_file': 'b/cherrypy/test/webtest.py', 'file_extension': '.py', 'before_file': '# for compatibility, expose cheroot webtest here\nimport warnings\n\nfrom cheroot.test.webtest import (  # noqa\n    interface,\n    WebCase, cleanHeaders, shb, openURL,\n    ServerError, server_error,\n)\n\n\nwarnings.warn(\'Use cheroot.test.webtest\', DeprecationWarning)\n        """Fail if value not in self.body."""\n        if value not in self.body:\n            if msg is None:\n                msg = \'%r not in body\' % value\n            self._handlewebError(msg)\n    \n    def assertNotInBody(self, value, msg=None):\n', 'message': 'trunk - making assertInBody the same as in python3 branch.\n', 'author_name': 'Lakin Wecker', 'lang': 'py'}