mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
The _setup_teardown_vars
is not really required
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
4b56ff11f3
commit
de03f395bd
1 changed files with 0 additions and 11 deletions
|
@ -85,17 +85,6 @@ def computer_name(system):
|
|||
system.set_computer_name(computer_name)
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _setup_teardown_vars(service, system):
|
||||
atrun_enabled = service.enabled("com.apple.atrun")
|
||||
try:
|
||||
yield
|
||||
finally:
|
||||
if not atrun_enabled:
|
||||
atrun = "/System/Library/LaunchDaemons/com.apple.atrun.plist"
|
||||
service.stop(atrun)
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("_remote_login_cleanup")
|
||||
def test_get_set_remote_login(system):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue