Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Make pytest-django work with xdist #14

Closed
pelme opened this Issue Jul 4, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Owner

pelme commented Jul 4, 2012

No description provided.

@pelme pelme referenced this issue Jul 4, 2012

Merged

Lazy django #12

Owner

pelme commented Jul 6, 2013

I'm working on this issue for the EuroPython sprints, feel free to talk to me if you want to join!

Docs say that this works (assuming sqlite3), are you working on this for other database engines, or are the docs wrong?

Owner

pelme commented Jul 8, 2013

Right, the problem is with databases. When sqlite is used, an in memory database will always be used. Each process will get its own so it is no problem.

With MySQL/Postgres the problem is when multiple tests that use the same database execute at the same time.

I have published my current work in progress in the xdist-branch. It is very much in development and does not yet work.

@pelme pelme closed this in 606a284 Dec 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment