Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
optional forced flush on SQLAlchemyModelFactory #262
If we made it the default, tons of tests would have broken for some people :D When we changed this in our tests we saw that because we had incomplete model factories with missing fk constraints or unique constraints and what not, so we had to fix those if we wanted to flush.
I added some tests, one comment, it would be nice if the tests didn't need mongodb installed and running and such, i only ran the alchemy module in my machine anyway, but maybe an imporvement.
Let me know what you think and if you can when we can expect it to hit pypi,