Skip to content

test: Fix using unittest.mock whenever available#1926

Merged
sentrivana merged 15 commits intogetsentry:masterfrom
mgorny:unittest-mock
Jun 7, 2023
Merged

test: Fix using unittest.mock whenever available#1926
sentrivana merged 15 commits intogetsentry:masterfrom
mgorny:unittest-mock

Conversation

@mgorny
Copy link
Contributor

@mgorny mgorny commented Feb 27, 2023

Fix some of the newly-added mock imports to prefer unittest.mock when it is available. Update test-requirements.txt to install mock only in Python < 3.3; hopefully this will suffice for CI to catch these regressions in the future.

Fix some of the newly-added `mock` imports to prefer `unittest.mock`
when it is available.  Update `test-requirements.txt` to install `mock`
only in Python < 3.3; hopefully this will suffice for CI to catch these
regressions in the future.
@github-actions
Copy link
Contributor

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@github-actions
Copy link
Contributor

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2023

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@mgorny
Copy link
Contributor Author

mgorny commented May 6, 2023

@antonpirker, ping!

@antonpirker antonpirker enabled auto-merge (squash) May 8, 2023 07:17
@github-actions
Copy link
Contributor

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@antonpirker
Copy link
Contributor

updated the branch and restarted the tests

@sentrivana sentrivana disabled auto-merge June 7, 2023 09:48
@sentrivana sentrivana enabled auto-merge (squash) June 7, 2023 09:50
@sentrivana sentrivana merged commit 59bf4d4 into getsentry:master Jun 7, 2023
@sentrivana
Copy link
Contributor

Thanks @mgorny!

@mgorny
Copy link
Contributor Author

mgorny commented Jun 7, 2023

Thanks!

@mgorny mgorny deleted the unittest-mock branch June 7, 2023 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants