ptbtest icon indicating copy to clipboard operation
ptbtest copied to clipboard

Fix tests

Open j-maas opened this issue 8 years ago • 4 comments

Just some quick and naive fixes to make the tests pass.

j-maas avatar Oct 03 '17 14:10 j-maas

Codecov Report

Merging #14 into master will decrease coverage by 0.21%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   99.68%   99.46%   -0.22%     
==========================================
  Files          11       11              
  Lines         939      941       +2     
==========================================
  Hits          936      936              
- Misses          3        5       +2
Impacted Files Coverage Δ
ptbtest/usergenerator.py 100% <ø> (ø) :arrow_up:
ptbtest/mockbot.py 99.48% <100%> (ø) :arrow_up:
ptbtest/messagegenerator.py 99.28% <0%> (-0.72%) :arrow_down:

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 5d931aa...7156b5d. Read the comment docs.

codecov[bot] avatar Oct 03 '17 14:10 codecov[bot]

Codecov Report

Merging #14 into master will decrease coverage by 0.21%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   99.68%   99.46%   -0.22%     
==========================================
  Files          11       11              
  Lines         939      941       +2     
==========================================
  Hits          936      936              
- Misses          3        5       +2
Impacted Files Coverage Δ
ptbtest/usergenerator.py 100% <ø> (ø) :arrow_up:
ptbtest/mockbot.py 99.48% <100%> (ø) :arrow_up:
ptbtest/messagegenerator.py 99.28% <0%> (-0.72%) :arrow_down:

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 5d931aa...bca2e2b. Read the comment docs.

codecov[bot] avatar Oct 03 '17 14:10 codecov[bot]

The build only fails on Python 2.7 and PyPI. I have added an __init__.py to PtbMock which I hope solves the issue, but of course this doesn't trigger a rebuild here. @Eldinnie, could you prompt Travis to rebuild, please?

j-maas avatar Oct 03 '17 14:10 j-maas

Hi. I'm notifying everyone who PRed to this repo about #21.

Bibo-Joshi avatar Jan 23 '22 16:01 Bibo-Joshi