Complete name-first 1C adapter saved-state support
This commit is contained in:
@@ -13,3 +13,12 @@ def test_rest_deploy_refuses_to_drop_service_authentication() -> None:
|
||||
assert "Reusing the existing REST service token without printing or persisting it" in source
|
||||
assert "Refusing to deploy an unauthenticated adapter" in source
|
||||
assert source.index("Ensure-RestServiceToken") < source.index("Invoke-ComposeUp `", source.index("try {"))
|
||||
|
||||
|
||||
def test_deploy_can_forward_complete_saved_state_write_smoke_skip() -> None:
|
||||
source = (ROOT / "scripts" / "deploy_1c_adapter_stack.ps1").read_text(encoding="utf-8-sig")
|
||||
|
||||
assert "[switch]$SkipSavedStateWriteSmoke" in source
|
||||
assert "[switch]$SkipCodeWriteSavedStateSmoke" in source
|
||||
assert '$verifyCommand += "-SkipSavedStateWriteSmoke"' in source
|
||||
assert '$verifyCommand += "-SkipCodeWriteSavedStateSmoke"' in source
|
||||
|
||||
Reference in New Issue
Block a user