Skip to content

Commit 88b6e45

Browse files
s0undt3chdwoz
authored andcommitted
The _setup_teardown_vars is not really required
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
1 parent 7476d6f commit 88b6e45

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/pytests/functional/modules/test_mac_system.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,6 @@ def computer_name(system):
8585
system.set_computer_name(computer_name)
8686

8787

88-
@pytest.fixture(autouse=True)
89-
def _setup_teardown_vars(service, system):
90-
atrun_enabled = service.enabled("com.apple.atrun")
91-
try:
92-
yield
93-
finally:
94-
if not atrun_enabled:
95-
atrun = "/System/Library/LaunchDaemons/com.apple.atrun.plist"
96-
service.stop(atrun)
97-
98-
9988
@pytest.mark.usefixtures("_remote_login_cleanup")
10089
def test_get_set_remote_login(system):
10190
"""

0 commit comments

Comments
 (0)