croach / Flask-Fixtures

A simple library for adding database fixtures for unit tests using nothing but JSON or YAML.
MIT License
63 stars 30 forks source link

Add Support for Python 3 and using Flask test request context #9

Closed ganemone closed 8 years ago

ganemone commented 9 years ago

It is useful to have the ability to use the Flask test request context to avoid errors with the db object not being bound to any application context while testing. Also, made a simple change which makes the project compatible with Python 3.

ganemone commented 9 years ago

Any updates on this?

jbouzekri commented 8 years ago

+1 But it seems there are some conflicts with master

croach commented 8 years ago

Thanks @ganemone for the pull request, but I'm not sure why you need the test request context. Can you give a use case for this? Also, I'm going to close this pull request since it is now in conflict with the master branch and I've recently merged in another pull request with updates that make the library Python 3 compatible.