Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Fixes: #397
Browse files Browse the repository at this point in the history
  • Loading branch information
palisadoes committed Oct 25, 2020
1 parent e3967d3 commit 60fe6da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pattoo/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

# Main python libraries
import os
import logging

from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, scoped_session
Expand Down
2 changes: 1 addition & 1 deletion tests/bin/setup_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
DB_NAME = 'pattoo_unittest'
DB_NAME_ERROR = '''An error occurred: {} database does not exist!\nPlease create
before running tests!'''.format(DB_NAME)
DB_URI='mysql://:@localhost/{}'.format(DB_NAME)
DB_URI='mysql+pymysql://:@localhost/{}'.format(DB_NAME)

def create_tables(tables):
"""Create mock tables for testing in DB_NAME
Expand Down

0 comments on commit 60fe6da

Please sign in to comment.