MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / test_resolved_config_proxy_config

Function test_resolved_config_proxy_config

src/context/tsk_config.rs:1933–1942  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1931
1932 #[test]
1933 fn test_resolved_config_proxy_config() {
1934 let resolved = ResolvedConfig {
1935 host_ports: vec![5432, 6379],
1936 squid_conf: Some("custom-conf".to_string()),
1937 ..Default::default()
1938 };
1939 let proxy = resolved.proxy_config();
1940 assert_eq!(proxy.host_ports, vec![5432, 6379]);
1941 assert_eq!(proxy.squid_conf, Some("custom-conf".to_string()));
1942 }
1943
1944 #[test]
1945 fn test_squid_conf_project_overrides_defaults() {

Callers

nothing calls this directly

Calls 1

proxy_configMethod · 0.80

Tested by

no test coverage detected