fix: WinRM NTLM username normalize and hostname-first targets (0.10.3)
This commit is contained in:
@@ -4,6 +4,6 @@ from app.version import APP_NAME, APP_VERSION, APP_VERSION_LABEL
|
||||
|
||||
|
||||
def test_version_constants():
|
||||
assert APP_VERSION == "0.10.2"
|
||||
assert APP_VERSION == "0.10.3"
|
||||
assert APP_NAME == "Security Alert Center"
|
||||
assert APP_VERSION_LABEL == "Security Alert Center v.0.10.2"
|
||||
assert APP_VERSION_LABEL == "Security Alert Center v.0.10.3"
|
||||
|
||||
@@ -3,6 +3,12 @@
|
||||
from unittest.mock import patch
|
||||
|
||||
from app.models.ui_settings import UI_SETTINGS_ROW_ID, UiSettings
|
||||
from app.services.win_admin_settings import normalize_win_admin_user
|
||||
|
||||
|
||||
def test_normalize_win_admin_user():
|
||||
assert normalize_win_admin_user(r"B26\\papatramp") == r"B26\papatramp"
|
||||
assert normalize_win_admin_user(r"B26\papatramp") == r"B26\papatramp"
|
||||
|
||||
|
||||
def test_get_win_admin_settings_env_default(jwt_headers, client, monkeypatch):
|
||||
|
||||
Reference in New Issue
Block a user