def METHOD_NAME(self):
    """
    Helper called by 'run' to update the 'tests/__init__.py' file.
    Note: If no python scripts exist in the 'tests' subdir
          'tests/__init__.py' will be removed.
    """
    tests_init = os.path.join(self.tests_dir,"__init__.py")
    if len(self.tests) > 0:
        f = open(tests_init,"w")
        f.write("# module header auto generated by "
                "setup_tests.ExecuteTests\n")
        # import each test script as part of the 'tests' module.
        for t in self.tests:
            f.write("import %s\n" % t[0])
    elif os.path.exists(tests_init):
        # remove the module init file if no test scripts are found.
        os.remove(tests_init