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

  return Wrapper

# Tell nose that this method named _test isn't a test.
Decorator for tests running in test cases derived from
dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/testing.py/async_test