summaryrefslogtreecommitdiff
path: root/tests/util.py
Commit message (Collapse)AuthorAgeFilesLines
* remove debugging printBob Halley2022-06-101-1/+0
|
* Improve network checking [#812].Bob Halley2022-06-041-5/+65
|
* Allow skipping test cases that need Internet accessBenjamin Drung2022-05-161-6/+10
| | | | | | | | | 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@ubuntu.com>
* Add tests.util.is_internet_reachable()Benjamin Drung2022-05-161-0/+19
| | | | | | Introduce `tests.util.is_internet_reachable` to avoid duplicate code. Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
* black autoformattingBob Halley2022-03-151-2/+5
|
* remove or comment out some prints in testsBob Halley2021-05-231-2/+2
|
* add enumeration checking helpersBob Halley2020-08-041-0/+19
|
* a way of doing commentscommentsBob Halley2020-07-201-0/+21