MCPcopy Create free account
hub / github.com/cloudbase/garm / TestUploadEndpoint

Function TestUploadEndpoint

config/config_test.go:827–831  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

825}
826
827func TestUploadEndpoint(t *testing.T) {
828 cfg := getDefaultGithubConfig()
829
830 require.Equal(t, "https://uploads.github.com/", cfg[0].UploadEndpoint())
831}
832
833func TestUploadEndpointIsSet(t *testing.T) {
834 cfg := getDefaultGithubConfig()

Callers

nothing calls this directly

Calls 2

getDefaultGithubConfigFunction · 0.85
UploadEndpointMethod · 0.80

Tested by

no test coverage detected