def _wrapped_test_remote(self):
        for mod in self.reload_modules:
            reload(mod)
        # setUp, tearDown, and doCleanups are done manually.
        # If they raise, skip, whatever, it will be like the test itself
        # raising or skipping.
        # Note that TestCase.doCleanups does not error,
        # so we handle it manually via doCleanupsUnsafe.
        try:
            self.setUp()
            getattr(self, self._testMethodName)()
        finally:
            self.tearDown()
            while self._cleanups:
                function, args, kwargs = self._cleanups.pop(-1)
                function(*args, **kwargs)
This function should only ever run on the server (remotely).
dataset/ETHPy150Open rgalanakis/dccautomation/dccautomation/testcase.py/RemoteTestCase._wrapped_test_remote