Open lucaspg96 opened 6 years ago
Hi @lucaspg96
I'm sorry to say that due to other obligations I have had no time to work on ptbtest for a while. It will not work with any version of python-telegram-bot above 6.0. I will put a notice in the readme to reflect this.
Ok, thank you for your help!
So, I was looking for some tool for testing my ptb bot. If this is not being developed, is there any other option?
Can I, at least, fix something for avoiding these kind of errors?:
'Mockbot' object has no attribute 'delete_webhook'
When I try to create a Upater using the Mockbot like on your examples, I get the following error:
"AttributeError: 'Mockbot' object has no attribute 'request' "
Running your examples I got the same.
I manage to solve this by setting a request attribute as telegram.utils.request.Request. It shouldn't be already defined?