-
Notifications
You must be signed in to change notification settings - Fork 214
test: import mock via unittest.mock #702
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
433aa3e
Import mock via unittest.mock
major f36ad9d
Merge branch 'main' into use-unittest-mock
acocuzzo 45c097f
Merge branch 'main' into use-unittest-mock
acocuzzo 6daa83d
Merge branch 'main' into use-unittest-mock
acocuzzo 6c0b5fc
Merge branch 'main' into use-unittest-mock
acocuzzo 726e64e
Merge branch 'main' into use-unittest-mock
parthea 04a54b3
Merge branch 'main' into use-unittest-mock
acocuzzo 9a36782
remove changes from auto-generated files
acocuzzo 7ad0185
remove changes from auto-generated files
acocuzzo 103372f
remove changes from auto-generated files
acocuzzo 189217e
Merge branch 'main' into use-unittest-mock
acocuzzo 80b8658
Merge branch 'main' into use-unittest-mock
acocuzzo 20af625
Update system.py
acocuzzo 791fb37
Update conftest.py
acocuzzo e985f2b
Update test_base.py
acocuzzo 5bbe2ad
Update test_thread.py
acocuzzo ee9c7d6
Update test_unordered_sequencer.py
acocuzzo 3e1bdd5
Update test_publisher_client.py
acocuzzo 64a5316
Update test_dispatcher.py
acocuzzo 7dcb5f3
Update test_futures_subscriber.py
acocuzzo dc5aaf3
Update test_heartbeater.py
acocuzzo f547bb7
Update test_helper_threads.py
acocuzzo b8e134b
Update test_leaser.py
acocuzzo 86efcae
Update test_message.py
acocuzzo 8b700f5
Update test_scheduler.py
acocuzzo 44a7f98
Update test_streaming_pull_manager.py
acocuzzo feabd22
Update test_subscriber_client.py
acocuzzo 6100215
Update test_futures.py
acocuzzo 5f18dbc
Update test_ordered_sequencer.py
acocuzzo c3f5a28
Update conftest.py
acocuzzo 762484b
Update test_subscriber_client.py
acocuzzo cde0720
Update test_ordered_sequencer.py
acocuzzo 6a1edcb
Update system.py
acocuzzo 8eaad4c
Update conftest.py
acocuzzo 8143114
Update test_base.py
acocuzzo ad17216
Update test_thread.py
acocuzzo ae5013f
Update test_ordered_sequencer.py
acocuzzo 5663032
Update test_unordered_sequencer.py
acocuzzo deea188
Update test_publisher_client.py
acocuzzo 79be28b
Update test_dispatcher.py
acocuzzo fd6f34d
Update test_futures_subscriber.py
acocuzzo 98f19f8
Update test_heartbeater.py
acocuzzo 799fbd4
Update test_helper_threads.py
acocuzzo b121356
Update test_leaser.py
acocuzzo 0896e4a
Update test_message.py
acocuzzo 7a49df5
Update test_futures.py
acocuzzo 69f29c4
Update test_scheduler.py
acocuzzo dda2882
Update test_streaming_pull_manager.py
acocuzzo d75c1b7
Update test_subscriber_client.py
acocuzzo 0870dc7
Merge branch 'main' into use-unittest-mock
parthea 4cdb84a
Merge branch 'main' into use-unittest-mock
acocuzzo 08773be
Merge branch 'main' into use-unittest-mock
acocuzzo 623991b
Special case python < 3.8
acocuzzo 5377b60
Merge branch 'main' into use-unittest-mock
acocuzzo dff4fba
Update test_dispatcher.py
acocuzzo 1c82151
Update test_streaming_pull_manager.py
acocuzzo 839b257
Update test_publisher_client.py
acocuzzo ea8eb59
Update system.py
acocuzzo 8b1200d
Update conftest.py
acocuzzo 495c0d5
Update test_base.py
acocuzzo 86302bf
Update test_thread.py
acocuzzo 035ac5d
Update test_ordered_sequencer.py
acocuzzo 3768d25
Update test_unordered_sequencer.py
acocuzzo 50fd4cd
Update test_publisher_client.py
acocuzzo 817137d
Update test_futures_subscriber.py
acocuzzo 945c497
Update test_heartbeater.py
acocuzzo 2dd867a
Update test_helper_threads.py
acocuzzo 1dd70d8
Update test_leaser.py
acocuzzo 72af14e
Update test_message.py
acocuzzo 66d0cfd
Update test_scheduler.py
acocuzzo 2d2b65c
Update test_subscriber_client.py
acocuzzo 92dfb96
Update test_futures.py
acocuzzo 33f2d1c
Update test_unordered_sequencer.py
acocuzzo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ | |
| import threading | ||
| import time | ||
|
|
||
| import mock | ||
| from unittest import mock | ||
| import pytest | ||
|
|
||
| import google.auth | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ | |
|
|
||
| import grpc | ||
|
|
||
| import mock | ||
| from unittest import mock | ||
| import pytest | ||
| import time | ||
| import warnings | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.