Skip to content

multidb: let one connection be reused, and other not #74

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

Closed
wants to merge 5 commits into from

Conversation

maho
Copy link

@maho maho commented Feb 23, 2014

set per settings.py

instead (besides) of set --reuse_db in cmdline, I can set TEST_REUSE in db setting, which let me reuse one db (postgres in this case) , which is big and expensive to create/copy, and create other (small sqlite).

@pelme
Copy link
Member

pelme commented Jul 10, 2014

Hi @mahomahomaho, thanks for this report and patch.

I am working to make database setup in pytest-django generally more flexible, to make customizations like this very easy, without adding custom settings or command line options.

I made a note about this in #128. There will hopefully be some progress with regard to this during the EuroPython sprints and I will give an update after the sprints.

…into reuseperconn

Conflicts:
	pytest_django/db_reuse.py
@blueyed
Copy link
Contributor

blueyed commented Feb 26, 2019

Closing as per previous comment.

@blueyed blueyed closed this Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants