@staticmethod
def convert_async_to_sync(test):
    '\n        Convert a test coroutine to a test function.\n\n        '

    @functools.wraps(test)
    def test_func(self, *args, **kwargs):
        return self.loop.run_until_complete(test(self, *args, **kwargs))
    return test_func
Convert a test coroutine to a test function.
@staticmethod
def convert_async_to_sync(test):
    '\n        \n\n        '

    @functools.wraps(test)
    def test_func(self, *args, **kwargs):
        return self.loop.run_until_complete(test(self, *args, **kwargs))
    return test_func