MCPcopy Index your code
hub / github.com/google/go-github / skipIfMissingAuth

Function skipIfMissingAuth

test/integration/github_test.go:42–46  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

40})()
41
42func skipIfMissingAuth(t *testing.T) {
43 if !auth {
44 t.Skipf("No OAuth token - skipping portions of %v\n", t.Name())
45 }
46}
47
48func createRandomTestRepository(t *testing.T, owner string, autoinit bool) *github.Repository {
49 t.Helper()

Callers 13

TestActivity_StarringFunction · 0.85
TestActivity_WatchingFunction · 0.85
TestOrganizationAuditLogFunction · 0.85
TestProjectsV2_OrgFunction · 0.85
TestProjectsV2_UserFunction · 0.85
TestUsers_UpdateFunction · 0.85
TestUsers_EmailsFunction · 0.85
TestUsers_KeysFunction · 0.85
TestRepositories_CRUDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…