python-module-mysql/test.py

14 lines
241 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from manage_sql.manage_sql import HandleSql
MYSQL_CONN = HandleSql()
try:
check_return_bdd = MYSQL_CONN.conn()
except OperationalError as error:
print(error)
else:
print(check_return_bdd)