mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove test for 57591 since N/A
This commit is contained in:
parent
974dacc5bb
commit
b6a9cc90b6
1 changed files with 0 additions and 13 deletions
|
@ -2,7 +2,6 @@ import pytest
|
|||
|
||||
import salt.utils.win_lgpo_netsh as win_lgpo_netsh
|
||||
from salt.exceptions import CommandExecutionError
|
||||
from tests.support.mock import patch
|
||||
|
||||
pytestmark = [
|
||||
pytest.mark.windows_whitelisted,
|
||||
|
@ -26,18 +25,6 @@ def test_get_settings_firewallpolicy_lgpo():
|
|||
assert "Outbound" in ret
|
||||
|
||||
|
||||
def test_get_settings_firewallpolicy_lgpo_issue_57591():
|
||||
"""
|
||||
Should not stacktrace when the hostname contains unicode characters
|
||||
"""
|
||||
with patch.object(win_lgpo_netsh, "__hostname__", return_value="kомпьютер"):
|
||||
ret = win_lgpo_netsh.get_settings(
|
||||
profile="domain", section="firewallpolicy", store="lgpo"
|
||||
)
|
||||
assert "Inbound" in ret
|
||||
assert "Outbound" in ret
|
||||
|
||||
|
||||
def test_get_settings_logging_local():
|
||||
ret = win_lgpo_netsh.get_settings(
|
||||
profile="domain", section="logging", store="local"
|
||||
|
|
Loading…
Add table
Reference in a new issue