Skip to content

Implement Inlinebots#174

Merged
jh0ker merged 46 commits intomasterfrom
inlinebots
Feb 28, 2016
Merged

Implement Inlinebots#174
jh0ker merged 46 commits intomasterfrom
inlinebots

Conversation

@jh0ker
Copy link
Copy Markdown
Member

@jh0ker jh0ker commented Feb 7, 2016

Implement Telegram Bot API changes from January 4, 2016 and January 14, 2016
Related to #146

@jh0ker jh0ker added the ⚙️ bot-api affected functionality: bot-api label Feb 7, 2016
@jh0ker jh0ker added this to the 3.3 milestone Feb 7, 2016
@jh0ker jh0ker mentioned this pull request Feb 10, 2016
result = telegram.ChosenInlineResult.de_json(self.json_dict)

self.assertEqual(result.result_id, self.result_id)
self.assertEqual(result.from_user.to_dict(), self.from_user.to_dict())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use self.assertDictEqual instead

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not know about this. It's done in other tests like that as well, maybe we can change it in other places as well.
Edit: I confused this with something

@tsnoam
Copy link
Copy Markdown
Member

tsnoam commented Feb 19, 2016

i see that the coverage had decreased. i couldn't see in travis why (it claims that the files don't exist). on the next CI check lets make sure that the important parts are covered properly.

@jh0ker
Copy link
Copy Markdown
Member Author

jh0ker commented Feb 20, 2016

I think the coverage decreases because there is no test for answerInlineQuery, since I was unsure about how to test it automatically

@jh0ker
Copy link
Copy Markdown
Member Author

jh0ker commented Feb 20, 2016

Travis is failing due to network errors

jh0ker added a commit that referenced this pull request Feb 28, 2016
@jh0ker jh0ker merged commit cd42524 into master Feb 28, 2016
@leandrotoledo leandrotoledo deleted the inlinebots branch March 12, 2016 22:47
@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⚙️ bot-api affected functionality: bot-api

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants