*The setupModule method*

        **Return:**
            - ``log`` -- a logger
            - ``dbConn`` -- a database connection to a test database (details from yaml settings file)
            - ``pathToInputDir`` -- path to modules own test input directory
            - ``pathToOutputDir`` -- path to modules own test output directory

def setupModule(
            self):
        """
        *The setupModule method*

        **Return:**
            - ``log`` -- a logger
            - ``dbConn`` -- a database connection to a test database (details from yaml settings file)
            - ``pathToInputDir`` -- path to modules own test input directory
            - ``pathToOutputDir`` -- path to modules own test output directory
        """
        import pymysql as ms
        ## VARIABLES ##
        logging.config.dictConfig(yaml.load(self.loggerConfig))
        log = logging.getLogger(__name__)
        connDict = yaml.load(self.dbConfig)
        dbConn = ms.connect(
            host=connDict['host'],
            user=connDict['user'],
            passwd=connDict['password'],
            db=connDict['db'],
            use_unicode=True,
            charset='utf8',
            local_infile=1,
            client_flag=ms.constants.CLIENT.MULTI_STATEMENTS,
            connect_timeout=3600
        )
        dbConn.autocommit(True)

        return log, dbConn, self.pathToInputDir, self.pathToOutputDir