jeancochrane / jeancochrane/pytest-flask-sqlalchemy

Is it possible to use this with FactoryBoy?

Open
#12 17 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
253
Forks
45
PR merge metrics
No merged PRs in 30d

Description

It would be useful to see an example of how to use pytest-flask-sqlalchemy with FactoryBoy/pytest-factoryboy, if they can work together. For example, I'm not clear what would be used for factory classes' `sqlalchemy_session` field.

(Background: I use something like pytest-flask-sqlalchemy in my tests, and would like to switch to pytest-flask-sqlalchemy when the MySQL PR is included, and would also like to use FactoryBoy, but have never managed to get the two things to work well together.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.