aboutsummaryrefslogtreecommitdiffstats
path: root/tests/option_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/option_tests.py')
-rw-r--r--tests/option_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/option_tests.py b/tests/option_tests.py
index f0587367..4af16270 100644
--- a/tests/option_tests.py
+++ b/tests/option_tests.py
@@ -3,7 +3,7 @@
import unittest
from sos.plugins import Plugin
-from sos.policies import LinuxPolicy
+from sos.policies import LinuxPolicy, InitSystem
class MockOptions(object):
@@ -18,7 +18,7 @@ class GlobalOptionTest(unittest.TestCase):
def setUp(self):
self.commons = {
'sysroot': '/',
- 'policy': LinuxPolicy(),
+ 'policy': LinuxPolicy(init=InitSystem()),
'cmdlineopts': MockOptions()
}
self.plugin = Plugin(self.commons)