human
Complete the below
def async_test(method):

    ''''Decorator for tests running in test cases derived from
    tornado.testing.AsyncTestCase and tornado.testing.AsyncHTTPTestCase.
    On error, calls self.stop().
    NOTE: Tests are responsible for calling self.stop() to signal to
    tornado async test framework that test is complete.'
    '''

=====
Give me a the Python code you requested?
assistant
#Here is the Python code you requested.
    @functools.wraps(method)
    def Wrapper(self):
        method(self)
        self.wait()
    return Wrapper