-
Notifications
You must be signed in to change notification settings - Fork 196
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
4 unit tests are network dependent. #1618
Comments
I am just commenting upon request, please ignore this comment! |
I was looking at this issue and the reason why some tests from |
That's one possibility. Another one is to mock the data (if we can). I tried a couple of times, was close to manage it, but there was still a small things missing. Mocking is less complicated than I thought at the beginning. webcompat.com/tests/test_topsites.py Lines 35 to 40 in cc7aed7
|
Oh and this PR is probably one of the nails into finishing #396 |
Fixes #1618 - Get all unittests to be network independent.
When working with @brizental for an issue she had with tests, we also found out that 4 unit tests are failing if the network is off.
These need to work even if the network is off.
The text was updated successfully, but these errors were encountered: