Убран прокси для выхода в интернет: клиентам не нужен (прокси в нашей среде — только для работы ассистента); предпроверка установки с образа без сети — по-прежнему не останавливает установку
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014FsEKyJrYF69Cj9ZXzFLRi
This commit is contained in:
@@ -164,19 +164,6 @@ func TestBuildRequestNeedsOrganization(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestProxyBypass(t *testing.T) {
|
||||
for host, want := range map[string]bool{"localhost": true, "10.10.10.21": true, "192.168.1.5": true, "127.0.0.1": true, "sql002": true, "bj.local": true,
|
||||
"lic.zetit.ru": false, "www.nsd.ru": false, "8.8.8.8": false, "corp.example.ru": true, "a.corp.example.ru": true} {
|
||||
if got := proxyBypass(host, "corp.example.ru"); got != want {
|
||||
t.Errorf("proxyBypass(%s)=%v, want %v", host, got, want)
|
||||
}
|
||||
}
|
||||
p := ProxySettings{Address: "proxy.example.ru:3128", User: "u", Password: "p@ss"}
|
||||
if u := p.url(); u == nil || u.String() != "http://u:p%40ss@proxy.example.ru:3128" {
|
||||
t.Errorf("url: %v", u)
|
||||
}
|
||||
}
|
||||
|
||||
func TestKeyArchiveContour(t *testing.T) {
|
||||
dir := t.TempDir()
|
||||
raw, err := nsdCertsFS.ReadFile("nsd-certs/nsd-test-gost-petrov-20240924.cer")
|
||||
|
||||
Reference in New Issue
Block a user