-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixtures: ensure db blocker is always restored
As the code is written currently, it's possible the `restore` is not called in case of exception. Use the context manager to ensure that it does. This is not to fix an observed issue, just a fix from reviewing the code.
- Loading branch information
Showing
1 changed file
with
52 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters