def setUp(self): config = self.getMySQLConfig() self._unix_socket = config['unix_socket'] self.cnx = network.MySQLUnixSocket(unix_socket=config['unix_socket'])
def setUp(self): config = tests.get_mysql_config() self._unix_socket = config['unix_socket'] self.cnx = network.MySQLUnixSocket(unix_socket=config['unix_socket'])