MCPcopy Create free account
hub / github.com/cli/cli / TestRepositoryCreationIsManaged

Function TestRepositoryCreationIsManaged

acceptance/acceptance_test.go:261–267  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

259}
260
261func TestRepositoryCreationIsManaged(t *testing.T) {
262 assert.True(t, repositoryCreationIsManaged([]string{"repo", "create", "example"}, "shared"))
263 assert.True(t, repositoryCreationIsManaged([]string{"repo", "create", "example"}, "isolated"))
264 assert.True(t, repositoryCreationIsManaged([]string{"repo", "create", "example"}, "undeclared"))
265 assert.False(t, repositoryCreationIsManaged([]string{"repo", "create", "example"}, "none"))
266 assert.False(t, repositoryCreationIsManaged([]string{"repo", "view", "example"}, "shared"))
267}
268
269func TestWaitForWorkflowRun(t *testing.T) {
270 t.Run("returns registered run", func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected