From 384cf67de5256e54eef7b332a84968a21f3a1812 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Tue, 15 Nov 2016 09:25:28 -0700 Subject: [PATCH] Use nfsd instead of apsd to test disabled --- tests/integration/modules/mac_service.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/integration/modules/mac_service.py b/tests/integration/modules/mac_service.py index bce52bd9f0..23523ee66f 100644 --- a/tests/integration/modules/mac_service.py +++ b/tests/integration/modules/mac_service.py @@ -194,13 +194,14 @@ class MacServiceModuleTest(integration.ModuleCase): ''' Test service.disabled ''' - self.assertTrue(self.run_function('service.start', [self.SERVICE_NAME])) + SERVICE_NAME = 'com.apple.nfsd' + self.assertTrue(self.run_function('service.start', [SERVICE_NAME])) self.assertFalse( - self.run_function('service.disabled', [self.SERVICE_NAME])) + self.run_function('service.disabled', [SERVICE_NAME])) - self.assertTrue(self.run_function('service.stop', [self.SERVICE_NAME])) + self.assertTrue(self.run_function('service.stop', [SERVICE_NAME])) self.assertTrue( - self.run_function('service.disabled', [self.SERVICE_NAME])) + self.run_function('service.disabled', [SERVICE_NAME])) self.assertTrue(self.run_function('service.disabled', ['spongebob']))