aboutsummaryrefslogtreecommitdiffstats
path: root/tests/report_tests/smoke_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/report_tests/smoke_tests.py')
-rw-r--r--tests/report_tests/smoke_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/report_tests/smoke_tests.py b/tests/report_tests/smoke_tests.py
index cc186a91..89d5e301 100644
--- a/tests/report_tests/smoke_tests.py
+++ b/tests/report_tests/smoke_tests.py
@@ -10,7 +10,7 @@ import re
from avocado.utils import process
-from sos_tests import StageOneReportTest, SOS_BIN, skipIf, RH_DIST
+from sos_tests import StageOneReportTest, SOS_BIN, redhat_only
# These are the header strings in --list-plugins output
@@ -44,7 +44,7 @@ class AllPluginSmokeTest(StageOneReportTest):
for plugin in self.plugs:
self.assertPluginIncluded(plugin)
- @skipIf(lambda x: x.local_distro not in RH_DIST, "Not distro relevant")
+ @redhat_only
def test_expected_warnings_displayed(self):
"""We can expect specific plugins to always generate a warning during
setup if they are enabled on systems that are not configured for those