summaryrefslogtreecommitdiff
path: root/tests/unittests/config/test_cc_ntp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/config/test_cc_ntp.py')
-rw-r--r--tests/unittests/config/test_cc_ntp.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/unittests/config/test_cc_ntp.py b/tests/unittests/config/test_cc_ntp.py
index f8b71d2b..62c9b3fb 100644
--- a/tests/unittests/config/test_cc_ntp.py
+++ b/tests/unittests/config/test_cc_ntp.py
@@ -503,7 +503,9 @@ class TestNtp(FilesystemMockingTestCase):
m_util.is_FreeBSD.return_value = is_FreeBSD
m_util.is_OpenBSD.return_value = is_OpenBSD
cc_ntp.handle("notimportant", cfg, mycloud, None)
- m_subp.assert_called_with(expected_service_call, capture=True)
+ m_subp.assert_called_with(
+ expected_service_call, capture=True, rcs=None
+ )
self.assertEqual(expected_content, util.load_file(confpath))
@@ -837,6 +839,3 @@ class TestNTPSchema:
else:
with pytest.raises(SchemaValidationError, match=error_msg):
validate_cloudconfig_schema(config, get_schema(), strict=True)
-
-
-# vi: ts=4 expandtab