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

feat(torrent): wrap Torrent.status to support simple comparison with attribute #75

Merged
merged 7 commits into from Mar 31, 2021

Conversation

trim21
Copy link
Owner

@trim21 trim21 commented Mar 31, 2021

assert Torrent().status.downloading
assert Torrent().status.pending

@codecov
Copy link

codecov bot commented Mar 31, 2021

Codecov Report

Merging #75 (8640317) into master (de972f5) will increase coverage by 0.47%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
+ Coverage   70.80%   71.27%   +0.47%     
==========================================
  Files          13       13              
  Lines        1161     1180      +19     
==========================================
+ Hits          822      841      +19     
  Misses        339      339              
Flag Coverage Δ
py_36 71.02% <100.00%> (+0.47%) ⬆️
py_37 71.02% <100.00%> (+0.47%) ⬆️
py_38 71.24% <100.00%> (+0.47%) ⬆️
py_39 71.24% <100.00%> (+0.47%) ⬆️
py_pypy3 71.02% <100.00%> (+0.47%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/test_torrent.py 100.00% <100.00%> (ø)
transmission_rpc/torrent.py 59.09% <100.00%> (+1.80%) ⬆️

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 de972f5...8640317. Read the comment docs.

@trim21 trim21 changed the title feat: wrap feat(torrent): wrap Torrent.status to support simple comparison with attribute Mar 31, 2021
@trim21 trim21 merged commit 36aa54b into master Mar 31, 2021
@trim21 trim21 deleted the feat/status branch March 31, 2021 19:08
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.

None yet

1 participant