bottery icon indicating copy to clipboard operation
bottery copied to clipboard

Increase coverage for bottery/platform/telegram.py

Open rougeth opened this issue 8 years ago • 5 comments

Missing lines: 83, 86-91, 94-113, 136-150, 79->exit See Travis log to confirm the missing lines: https://travis-ci.org/rougeth/bottery

rougeth avatar Oct 04 '17 03:10 rougeth

Hey I am beginner I am taking this.

AdeilH avatar Oct 04 '17 07:10 AdeilH

Great @AdeilH

rougeth avatar Oct 04 '17 21:10 rougeth

Can you help me understand travis I have never used it before. Sorry.

AdeilH avatar Oct 05 '17 14:10 AdeilH

Hi @AdeilH, sure I can help. You don't Travis for doing this issue. Travis is just a service that run our tests automatically and alert us if any of them is broken (Travis can do a lot more than that, but for now that is enough).

First of all, you need to clone bottery and run its tests:

# Clone Bottery repository in your computer
$ git clone https://github.com/rougeth/bottery && cd bottery
# Install Tox
$ pip install tox
# Running the tests
$ tox

This command will clone the repository in your computer and install and run Tox. After that, you will be able to see what lines of bottery isn't covered by tests.

rougeth avatar Oct 05 '17 16:10 rougeth

Thanks a lot.

AdeilH avatar Oct 05 '17 17:10 AdeilH