Remove unused base factory class

master
sloria 11 years ago
parent 4179245939
commit b0ef2aedb8
  1. 5
      {{cookiecutter.app_name}}/tests/factories.py

@ -6,11 +6,6 @@ from {{cookiecutter.app_name}}.user.models import User
from {{cookiecutter.app_name}}.database import db
class BaseFactory(SQLAlchemyModelFactory):
class Meta:
sqlalchemy_session = db.session
class UserFactory(SQLAlchemyModelFactory):
class Meta:
model = User

Loading…
Cancel
Save