-
Notifications
You must be signed in to change notification settings - Fork 9
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
Allow skipping test cases that need Internet access #16
Allow skipping test cases that need Internet access #16
Conversation
Mark test cases that need Internet access and allow skipping them by setting the environment variable `NO_INTERNET`. Forwarded: saltstack#16 Signed-off-by: Benjamin Drung <bdrung@debian.org>
f3e9404
to
3320fe9
Compare
Mark test cases that need Internet access and allow skipping them by setting the environment variable `NO_INTERNET`. Forwarded: saltstack#16 Signed-off-by: Benjamin Drung <bdrung@debian.org>
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.
Please add a changelog/16.feature.rst
file explaining the new feature added.
Also, could you elaborate on the use case for this?
3320fe9
to
9858e3a
Compare
Codecov Report
@@ Coverage Diff @@
## main #16 +/- ##
===========================================
- Coverage 93.09% 80.92% -12.16%
===========================================
Files 43 53 +10
Lines 1605 2463 +858
===========================================
+ Hits 1494 1993 +499
- Misses 111 470 +359
Flags with carried forward coverage won't be shown. Click here to find out more.
|
e418b85
to
ccc4aa4
Compare
Support skipping all test cases that access the Internet by setting the environment variable `NO_INTERNET`. This is useful to make the test run reproducible and robust for future runs (to avoid breaking in case some random service on the Internet changes). Signed-off-by: Benjamin Drung <bdrung@debian.org> Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
ccc4aa4
to
8b6960f
Compare
Added |
Thank You! |
Released on 1.3.0 |
Support skipping all test cases that access the Internet by setting the environment variable
NO_INTERNET
. This is useful to make the test run reproducible and robust for future runs (to avoid breaking in case some random service on the Internet changes).