debian-forge/test
Achilleas Koutsou 4455b953ae test: Fix temporary network revert in tests
The netns() function sets up a new namespace for tests.  The function is
also used to determine whether those tests can be run (using
unittest.skipUnless()).  A bug in the function made the changes stick if
the function failed early.  Specifically, when the "ip link" line fails,
the function exits without reverting to the old namespace.

Since the code is used in "skipUnless()", it's run during test
collection, which means that even if the relevant tests aren't selected,
they affect the environment for other tests.
2021-01-20 21:18:29 +01:00
..
data test: Add test data for org.osbuild.rhsm stage 2021-01-15 19:07:19 +01:00
external-repos ⚙ Bring over CI improvements from osbuild-composer 2020-07-14 13:05:18 +02:00
mod pipeline: remove Assembler class 2021-01-19 10:42:26 +01:00
pipelines test: move all test manifests to get fedora packages from kernel mirrors 2020-06-07 22:08:34 +02:00
run test: Fix temporary network revert in tests 2021-01-20 21:18:29 +01:00
src test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
test.py stage: add module information about itself 2021-01-18 17:44:46 +01:00