- Notifications
You must be signed in to change notification settings - Fork5.7k
Make Tests fortelegram.ext
Independent of Networking#4454
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
By cutting of the internet connection in the fixtures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Alright, looks good to me. Regarding theWithoutRequest
tests, after we useoffline_bot
there as well, I'm wondering if we can disallow thebot
fixture to be used in those tests. As you mentioned, it's close to impossible to effectively enforce this, but it's a decent try.
We can get the fixture list usingfixturenames it seems.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
I would like to move this to a different PR … |
All right. Looks like I've got all tests working by now and also managed to reduce repetitions a bit. So now actually ready for review 😅 |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
0b352b0
intomasterUh oh!
There was an error while loading.Please reload this page.
By cutting of the internet connection in the fixtures
offline_bot
that has no internet connectionext
to have no internet connectionLet's see if I got everything in local testing
supersedes#4317. Although this PR here doesn't cover cutting off the internet connection in the
*WithoutRequest
tests, I don't think I'll follow up on that for the reasons pointed out in#4317.