-
Notifications
You must be signed in to change notification settings - Fork 28
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
Can't use Mockbot on Updater #16
Comments
Hi @lucaspg96 I'm sorry to say that due to other obligations I have had no time to work on ptbtest for a while. |
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?
The text was updated successfully, but these errors were encountered: