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

Testing #51

Merged
merged 4 commits into from Sep 2, 2015
Merged

Testing #51

merged 4 commits into from Sep 2, 2015

Conversation

njittam
Copy link
Contributor

@njittam njittam commented Sep 2, 2015

I added a CommandHandler and an example for how to use it. I also added a unit test but i am new to unittesting so i dont know if I am doing it the right way.
I also am not sure if the run and run_once methods are fine.
They do work but I don't know if there is a better way to make such methods.

njittam added 4 commits September 2, 2015 16:04
Not everything has a test. and I'm quite new to unit testing so I'm not sure if I am doing this the right way.
I saw in the TODO list on pypi that you wanted a commandhandler. 
I am not sure about the run and run_once commands.
and  I didn't implement logging yet.
this is an example of how to write a commandHandler
@leandrotoledo
Copy link
Member

W00t!!! Nicely done! Thank you very much!

leandrotoledo added a commit that referenced this pull request Sep 2, 2015
@leandrotoledo leandrotoledo merged commit 95ecd44 into python-telegram-bot:testing Sep 2, 2015
@njittam njittam deleted the testing branch September 6, 2015 15:06
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants