-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a double-mock guard to the base test case
Use mock to patch mock with a check to prevent multiple active patches to the same target. Multiple patches to the same target result in non-deterministic behavior when stopall() tries to undo the patches.[1] 1. http://bugs.python.org/issue21239 Change-Id: I3dd3d561a0267d80f464c15d69a4258b0a5e8aba Closes-Bug: #1468998
- Loading branch information
1 parent
78700ba
commit 1b60df8
Showing
1 changed file
with
29 additions
and
0 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