Skip to content
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

Improve django_db_blocker #380

Merged
merged 2 commits into from Aug 21, 2016
Merged

Improve django_db_blocker #380

merged 2 commits into from Aug 21, 2016

Commits on Aug 21, 2016

  1. Configuration menu
    Copy the full SHA
    68090c3 View commit details
    Browse the repository at this point in the history
  2. Use block()/unblock() as method names in django_db_blocker.

    Also, make both block() and unblock() be context managers and remove the
    implicit context manager of django_db_blocker itself.
    
    Fixes pytest-dev#372.
    pelme committed Aug 21, 2016
    Configuration menu
    Copy the full SHA
    932a92f View commit details
    Browse the repository at this point in the history