New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documention request: example for postgresql_nooproc usage #348
Comments
the warehouse ( https://github.com/pypa/warehouse ) project uses this kid of setup - at least used, last time I checked. It wasn't full use, but they used DatabaseJanitor part to clean the database. Basically, whther you use docker-compose, or just run postgres through docker, you need to run it before tests and make sure you pass connection configuration to the pytest. |
Not sure when I'll find the time, but eventually I'll think of something to write |
Hey there. Yes https://github.com/pypa/warehouse is a good starting point. I could also write something up that uses pytest fixture with
for testing a Flask app both, locally and in a GitLab pipeline. Any particular good place I would put this in? |
@bkircher Sorry for late response. A section "examples" at the end of readme maybe? |
Hi, |
@jschaeff if you'd have a bit of time to fix it I'd gladly merge it |
Add documentation example section - refs #348
Please check readme's example section now |
FYI, this turned out to be a breaking change between 2.x and 3.0 |
@tl24 the fixture name? Sorry, I must have overlook the lack of note, when that change got introduces. Could you create a pr adding that to changes? For the future? |
Ok, I added the pull request #421 |
postgresql container spinned with docker-compose.
Invoking query and asserting the result
Didn't find a complete example/code snippet which does something similar.
Would appreciate a code example.
The text was updated successfully, but these errors were encountered: