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

Commit

Permalink
Merge pull request #398 from palisadoes/2020-Q4
Browse files Browse the repository at this point in the history
Fixes: #397
  • Loading branch information
palisadoes authored Oct 25, 2020
2 parents 2396058 + 60fe6da commit 32860f1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 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 pip_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Flask-Session
# Database packages
PyMySQL
SQLAlchemy
mysqlclient
#mysqlclient

# GraphQL packages
graphene-sqlalchemy
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 32860f1

Please sign in to comment.