aboutsummaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests.py
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2019-08-16 14:13:12 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-08-16 14:17:37 +0100
commit856bddc6fe2f12a23e96401dd11247116a6d7a70 (patch)
tree4e8bd722322d7ffdcf22346074249b72a9a77254 /tests/plugin_tests.py
parentc2a2b6579f580baad69dc5b9815a4082c889f3b4 (diff)
downloadsos-856bddc6fe2f12a23e96401dd11247116a6d7a70.tar.gz
[SoSPredicate] override kernel module tests if --allow-system-changes
If the --allow-system-changes option is in effect, bypass checking of kernel modules and allow commands to attempt to auto-load any missing modules when run. Related: #1678 Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/plugin_tests.py')
-rw-r--r--tests/plugin_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index 7d36957b..e81575cf 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -94,6 +94,7 @@ class MockOptions(object):
all_logs = False
dry_run = False
log_size = 25
+ allow_system_changes = False
class PluginToolTests(unittest.TestCase):