def async_test(method):
 @functools.wraps(method)
 def Wrapper(self):
  method(self)
  self.wait()
 return Wrapper

def async_test ( method ) : @ functools . wraps ( method ) def Wrapper ( self ) : method ( self ) self . wait ( ) return Wrapper
decorator for tests running in test cases derived from tornado .