forked from googleapis/google-cloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing _implicit_environ from storage.
Towards googleapis#952.
- Loading branch information
Showing
16 changed files
with
222 additions
and
904 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,11 +35,6 @@ def __exit__(self, exc_type, exc_val, exc_tb): | |
setattr(self.module, key, value) | ||
|
||
|
||
def _monkey_defaults(*args, **kwargs): | ||
mock_defaults = _DefaultsContainer(*args, **kwargs) | ||
return _Monkey(_helpers, _DEFAULTS=mock_defaults) | ||
|
||
|
||
def _setup_defaults(test_case, *args, **kwargs): | ||
This comment has been minimized.
Sorry, something went wrong.
tseaver
|
||
test_case._replaced_defaults = _helpers._DEFAULTS | ||
_helpers._DEFAULTS = _DefaultsContainer(*args, **kwargs) | ||
|
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Shouldn't
_DefaultsContainer
go away too?