fix: WinRM RDP update only via git clone on client (0.20.13)
This commit is contained in:
@@ -7,14 +7,13 @@ from app.services.winrm_connect import (
|
||||
)
|
||||
|
||||
|
||||
def test_rdp_update_default_script_uses_netlogon_and_git_fallback():
|
||||
def test_rdp_update_default_script_clones_git_and_runs_local_deploy():
|
||||
script = _rdp_update_powershell_script("")
|
||||
assert "$ProgressPreference = 'SilentlyContinue'" in script
|
||||
assert "NETLOGON\\RDP-login-monitor" in script
|
||||
assert "Deploy-LoginMonitor.ps1" in script
|
||||
assert "NETLOGON" not in script
|
||||
assert "_sac_git" in script
|
||||
assert "git.kalinamall.ru/PapaTramp/RDP-login-monitor.git" in script
|
||||
assert "ProgramData\\RDP-login-monitor\\Deploy-LoginMonitor.ps1" not in script
|
||||
assert "-SourceShareRoot $repoDir" in script
|
||||
|
||||
|
||||
def test_rdp_update_default_script_honors_sac_git_settings():
|
||||
|
||||
Reference in New Issue
Block a user