diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-05 12:15:53 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-10 10:24:53 -0400 |
commit | 813e71f37ebdd1e6ad4e58e9f3845d6acf6a5dbf (patch) | |
tree | 1f85064d9a5a9bb33acd5b7a66ed25baa2a415a0 /docs/index.rst | |
parent | a4415d3d979ff2610ffdbb7569bf9da6e16f3d5d (diff) | |
download | sos-813e71f37ebdd1e6ad4e58e9f3845d6acf6a5dbf.tar.gz |
[tests] Allow entire test classes to be distro specific
Previously new test cases had to be written in such a way that they
could be run on any supported distribution, even if their individual
tests were all marked for specific distributions. Use of the distro-only
decorators would fail when applied to test cases as a whole due to how
test instantiation errors are handled.
To address this, provide a distro check within `BaseSoSTest` so that
tests can be made distro-specific and we can signal to avocado to skip
all tests within that test case without failing the test suite entirely.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'docs/index.rst')
0 files changed, 0 insertions, 0 deletions