Skip to content
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

Use unittest.mock instead of mock #1673

Merged
merged 1 commit into from
Jul 24, 2022
Merged

Use unittest.mock instead of mock #1673

merged 1 commit into from
Jul 24, 2022

Conversation

WhyNotHugo
Copy link
Contributor

This module has been included in Python itself since 3.3.

Fixes: #1646

This module has been included in Python itself since 3.3.

Fixes: #1646
@codecov
Copy link

codecov bot commented Jul 24, 2022

Codecov Report

Merging #1673 (42329a1) into master (87bacb6) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1673      +/-   ##
==========================================
+ Coverage   95.40%   95.51%   +0.11%     
==========================================
  Files          47       47              
  Lines        7209     7209              
==========================================
+ Hits         6878     6886       +8     
+ Misses        331      323       -8     
Impacted Files Coverage Δ
tests/test_decorator.py 89.63% <100.00%> (ø)
tests/test_queue.py 100.00% <100.00%> (ø)
tests/test_scheduler.py 95.39% <100.00%> (ø)
tests/test_sentry.py 97.36% <100.00%> (ø)
tests/test_utils.py 100.00% <100.00%> (ø)
tests/test_worker.py 97.54% <100.00%> (ø)
tests/test_worker_registration.py 100.00% <100.00%> (ø)
rq/worker.py 88.70% <0.00%> (+0.13%) ⬆️
rq/job.py 97.85% <0.00%> (+0.32%) ⬆️
rq/queue.py 93.88% <0.00%> (+1.06%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87bacb6...42329a1. Read the comment docs.

@selwin selwin merged commit 61a4a17 into rq:master Jul 24, 2022
@selwin
Copy link
Collaborator

selwin commented Jul 24, 2022

Thanks!

@WhyNotHugo WhyNotHugo deleted the unittest-mock branch July 24, 2022 07:25
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.

use unittest.mock instead of mock
2 participants