MCPcopy Create free account
hub / github.com/imroc/req / TestGetTLSClientConfig

Function TestGetTLSClientConfig

client_test.go:459–464  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

457}
458
459func TestGetTLSClientConfig(t *testing.T) {
460 c := tc()
461 config := c.GetTLSClientConfig()
462 tests.AssertEqual(t, true, c.TLSClientConfig != nil)
463 tests.AssertEqual(t, config, c.TLSClientConfig)
464}
465
466func TestSetRootCertFromFile(t *testing.T) {
467 c := tc().SetRootCertsFromFile(tests.GetTestFilePath("sample-root.pem"))

Callers

nothing calls this directly

Calls 3

AssertEqualFunction · 0.92
tcFunction · 0.85
GetTLSClientConfigMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…