diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-04-06 17:56:28 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-04-15 11:33:04 -0400 |
commit | f2e99b89d2a694c2a199c31a09c6bd4e04a0392e (patch) | |
tree | ef9d217230a032d194065f2c30594b317713ba70 /docs/policies.rst | |
parent | cf2e094aa252bb643859c05ad6823832ac36afbe (diff) | |
download | sos-f2e99b89d2a694c2a199c31a09c6bd4e04a0392e.tar.gz |
[tests] Add distro specific helper decorators
Adds helper decorators to define specific test methods for use on
specific distributions only. Currently two decorators are available:
@redhat_only Only run on fedora, centos, or rhel
@ubuntu_only Only run on ubuntu or debian
Note that these decorators are only intended for individual `test_*`
methods, and will not function to define distro-specific test classes.
These should make it easier to write plugin test cases where packaging
differences between distributions otherwise makes plugin tests either
impossible needlessly complex to write generically.
Related: #2431
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'docs/policies.rst')
0 files changed, 0 insertions, 0 deletions