repo command scriptability improvements
This PR:

- Suppresses informational printing when not attached to a tty for repo commands
- Makes fork work when not attached to tty
- Outputs raw repo readme + linewise metadata for `repo view`

Closes #1299 
This issue captures the improvements required to make `gh repo` subcommands more amenable to scripting. Most of these bullet points are trivial; some are more involved. Came out of research for #940

fork:

- [x] clearly error when not attached to tty and would otherwise prompt
- [x] no informational output if not attached to tty

view:

- [x] Output raw text and print metadata linewise when not attached to tty
repo command scriptability improvements
diff --git a/command/repo.go b/command/repo.go
index e68a86bddff..d705a4a5f7f 100644
--- a/command/repo.go
+++ b/command/repo.go
@@ -434,21 +434,36 @@ func repoFork(cmd *cobra.Command, args []string) error {
 		}
 	}
 
+	if !connectedToTerminal(cmd) {
+		if (inParent && remotePref == "prompt") || (!inParent && clonePref == "prompt") {
+			return errors.New("--remote or --clone must be explicitly set when not attached to tty")
+		}
+	}
+
 	greenCheck := utils.Green("✓")
-	out := colorableOut(cmd)
-	s := utils.Spinner(out)
-	loading := utils.Gray("Forking ") + utils.Bold(utils.Gray(ghrepo.FullName(repoToFork))) + utils.Gray("...")
-	s.Suffix = " " + loading
-	s.FinalMSG = utils.Gray(fmt.Sprintf("- %s\n", loading))
-	utils.StartSpinner(s)
+	stderr := colorableErr(cmd)
+	s := utils.Spinner(stderr)
+	stopSpinner := func() {}
+
+	if connectedToTerminal(cmd) {
+		loading := utils.Gray("Forking ") + utils.Bold(utils.Gray(ghrepo.FullName(repoToFork))) + utils.Gray("...")
+		s.Suffix = " " + loading
+		s.FinalMSG = utils.Gray(fmt.Sprintf("- %s\n", loading))
+		utils.StartSpinner(s)
+		stopSpinner = func() {
+			utils.StopSpinner(s)
+
+		}
+	}
 
 	forkedRepo, err := api.ForkRepo(apiClient, repoToFork)
 	if err != nil {
-		utils.StopSpinner(s)
+		stopSpinner()
 		return fmt.Errorf("failed to fork: %w", err)
 	}
 
-	s.Stop()
+	stopSpinner()
+
 	// This is weird. There is not an efficient way to determine via the GitHub API whether or not a
 	// given user has forked a given repo. We noticed, also, that the create fork API endpoint just
 	// returns the fork repo data even if it already exists -- with no change in status code or
@@ -456,12 +471,19 @@ func repoFork(cmd *cobra.Command, args []string) error {
 	// we assume the fork already existed and report an error.
 	createdAgo := Since(forkedRepo.CreatedAt)
 	if createdAgo > time.Minute {
-		fmt.Fprintf(out, "%s %s %s\n",
-			utils.Yellow("!"),
-			utils.Bold(ghrepo.FullName(forkedRepo)),
-			"already exists")
+		if connectedToTerminal(cmd) {
+			fmt.Fprintf(stderr, "%s %s %s\n",
+				utils.Yellow("!"),
+				utils.Bold(ghrepo.FullName(forkedRepo)),
+				"already exists")
+		} else {
+			fmt.Fprintf(stderr, "%s already exists", ghrepo.FullName(forkedRepo))
+			return nil
+		}
 	} else {
-		fmt.Fprintf(out, "%s Created fork %s\n", greenCheck, utils.Bold(ghrepo.FullName(forkedRepo)))
+		if connectedToTerminal(cmd) {
+			fmt.Fprintf(stderr, "%s Created fork %s\n", greenCheck, utils.Bold(ghrepo.FullName(forkedRepo)))
+		}
 	}
 
 	if (inParent && remotePref == "false") || (!inParent && clonePref == "false") {
@@ -474,7 +496,9 @@ func repoFork(cmd *cobra.Command, args []string) error {
 			return err
 		}
 		if remote, err := remotes.FindByRepo(forkedRepo.RepoOwner(), forkedRepo.RepoName()); err == nil {
-			fmt.Fprintf(out, "%s Using existing remote %s\n", greenCheck, utils.Bold(remote.Name))
+			if connectedToTerminal(cmd) {
+				fmt.Fprintf(stderr, "%s Using existing remote %s\n", greenCheck, utils.Bold(remote.Name))
+			}
 			return nil
 		}
 
@@ -499,7 +523,9 @@ func repoFork(cmd *cobra.Command, args []string) error {
 				if err != nil {
 					return err
 				}
-				fmt.Fprintf(out, "%s Renamed %s remote to %s\n", greenCheck, utils.Bold(remoteName), utils.Bold(renameTarget))
+				if connectedToTerminal(cmd) {
+					fmt.Fprintf(stderr, "%s Renamed %s remote to %s\n", greenCheck, utils.Bold(remoteName), utils.Bold(renameTarget))
+				}
 			}
 
 			forkedRepoCloneURL := formatRemoteURL(cmd, forkedRepo)
@@ -509,7 +535,9 @@ func repoFork(cmd *cobra.Command, args []string) error {
 				return fmt.Errorf("failed to add remote: %w", err)
 			}
 
-			fmt.Fprintf(out, "%s Added remote %s\n", greenCheck, utils.Bold(remoteName))
+			if connectedToTerminal(cmd) {
+				fmt.Fprintf(stderr, "%s Added remote %s\n", greenCheck, utils.Bold(remoteName))
+			}
 		}
 	} else {
 		cloneDesired := clonePref == "true"
@@ -531,7 +559,9 @@ func repoFork(cmd *cobra.Command, args []string) error {
 				return err
 			}
 
-			fmt.Fprintf(out, "%s Cloned fork\n", greenCheck)
+			if connectedToTerminal(cmd) {
+				fmt.Fprintf(stderr, "%s Cloned fork\n", greenCheck)
+			}
 		}
 	}
 
@@ -591,14 +621,31 @@ func repoView(cmd *cobra.Command, args []string) error {
 		return err
 	}
 
-	fullName := ghrepo.FullName(toView)
-
 	openURL := generateRepoURL(toView, "")
 	if web {
-		fmt.Fprintf(cmd.ErrOrStderr(), "Opening %s in your browser.\n", displayURL(openURL))
+		if connectedToTerminal(cmd) {
+			fmt.Fprintf(cmd.ErrOrStderr(), "Opening %s in your browser.\n", displayURL(openURL))
+		}
 		return utils.OpenInBrowser(openURL)
 	}
 
+	fullName := ghrepo.FullName(toView)
+
+	if !connectedToTerminal(cmd) {
+		readme, err := api.RepositoryReadme(apiClient, toView)
+		if err != nil {
+			return err
+		}
+
+		out := cmd.OutOrStdout()
+		fmt.Fprintf(out, "name:\t%s\n", fullName)
+		fmt.Fprintf(out, "description:\t%s\n", repo.Description)
+		fmt.Fprintln(out, "--")
+		fmt.Fprintf(out, readme.Content)
+
+		return nil
+	}
+
 	repoTmpl := `
 {{.FullName}}
 {{.Description}}

diff --git a/command/repo_test.go b/command/repo_test.go
index 8d103645c97..8c8e2cf31e2 100644
--- a/command/repo_test.go
+++ b/command/repo_test.go
@@ -17,6 +17,7 @@ import (
 	"github.com/cli/cli/pkg/httpmock"
 	"github.com/cli/cli/test"
 	"github.com/cli/cli/utils"
+	"github.com/stretchr/testify/assert"
 )
 
 func stubSpinner() {
@@ -27,6 +28,72 @@ func stubSpinner() {
 	}
 }
 
+func TestRepoFork_nontty_insufficient_flags(t *testing.T) {
+	initBlankContext("", "OWNER/REPO", "master")
+	defer stubSince(2 * time.Second)()
+	http := initFakeHTTP()
+	http.StubRepoResponse("OWNER", "REPO")
+	defer stubTerminal(false)()
+
+	_, err := RunCommand("repo fork")
+	if err == nil {
+		t.Fatal("expected error")
+	}
+
+	assert.Equal(t, "--remote or --clone must be explicitly set when not attached to tty", err.Error())
+}
+
+func TestRepoFork_in_parent_nontty(t *testing.T) {
+	initBlankContext("", "OWNER/REPO", "master")
+	defer stubSince(2 * time.Second)()
+	http := initFakeHTTP()
+	http.StubRepoResponse("OWNER", "REPO")
+	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(false)()
+
+	cs, restore := test.InitCmdStubber()
+	defer restore()
+
+	cs.Stub("") // git remote rename
+	cs.Stub("") // git remote add
+
+	output, err := RunCommand("repo fork --remote")
+	if err != nil {
+		t.Fatalf("error running command `repo fork`: %v", err)
+	}
+
+	eq(t, strings.Join(cs.Calls[0].Args, " "), "git remote rename origin upstream")
+	eq(t, strings.Join(cs.Calls[1].Args, " "), "git remote add -f origin https://github.com/someone/REPO.git")
+
+	assert.Equal(t, "", output.String())
+	assert.Equal(t, "", output.Stderr())
+}
+
+func TestRepoFork_outside_parent_nontty(t *testing.T) {
+	defer stubSince(2 * time.Second)()
+	http := initFakeHTTP()
+	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(false)()
+
+	cs, restore := test.InitCmdStubber()
+	defer restore()
+
+	cs.Stub("") // git clone
+	cs.Stub("") // git remote add
+
+	output, err := RunCommand("repo fork --clone OWNER/REPO")
+	if err != nil {
+		t.Errorf("error running command `repo fork`: %v", err)
+	}
+
+	eq(t, output.String(), "")
+
+	eq(t, strings.Join(cs.Calls[0].Args, " "), "git clone https://github.com/someone/REPO.git")
+	eq(t, strings.Join(cs.Calls[1].Args, " "), "git -C REPO remote add -f upstream https://github.com/OWNER/REPO.git")
+
+	assert.Equal(t, output.Stderr(), "")
+}
+
 func TestRepoFork_already_forked(t *testing.T) {
 	stubSpinner()
 	initContext = func() context.Context {
@@ -41,14 +108,15 @@ func TestRepoFork_already_forked(t *testing.T) {
 	http := initFakeHTTP()
 	http.StubRepoResponse("OWNER", "REPO")
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	output, err := RunCommand("repo fork --remote=false")
 	if err != nil {
 		t.Errorf("got unexpected error: %v", err)
 	}
-	r := regexp.MustCompile(`someone/REPO already exists`)
-	if !r.MatchString(output.String()) {
-		t.Errorf("output did not match regexp /%s/\n> output\n%s\n", r, output)
+	r := regexp.MustCompile(`someone/REPO.*already exists`)
+	if !r.MatchString(output.Stderr()) {
+		t.Errorf("output did not match regexp /%s/\n> output\n%s\n", r, output.Stderr())
 		return
 	}
 }
@@ -68,13 +136,15 @@ func TestRepoFork_reuseRemote(t *testing.T) {
 	http := initFakeHTTP()
 	http.StubRepoResponse("OWNER", "REPO")
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	output, err := RunCommand("repo fork")
 	if err != nil {
 		t.Errorf("got unexpected error: %v", err)
 	}
-	if !strings.Contains(output.String(), "Using existing remote origin") {
-		t.Errorf("output did not match: %q", output)
+	r := regexp.MustCompile(`Using existing remote.*origin`)
+	if !r.MatchString(output.Stderr()) {
+		t.Errorf("output did not match: %q", output.Stderr())
 		return
 	}
 }
@@ -96,16 +166,17 @@ func TestRepoFork_in_parent(t *testing.T) {
 	http := initFakeHTTP()
 	http.StubRepoResponse("OWNER", "REPO")
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	output, err := RunCommand("repo fork --remote=false")
 	if err != nil {
 		t.Errorf("error running command `repo fork`: %v", err)
 	}
 
-	eq(t, output.Stderr(), "")
+	eq(t, output.String(), "")
 
-	r := regexp.MustCompile(`Created fork someone/REPO`)
-	if !r.MatchString(output.String()) {
+	r := regexp.MustCompile(`Created fork.*someone/REPO`)
+	if !r.MatchString(output.Stderr()) {
 		t.Errorf("output did not match regexp /%s/\n> output\n%s\n", r, output)
 		return
 	}
@@ -131,16 +202,17 @@ func TestRepoFork_outside(t *testing.T) {
 			defer stubSince(2 * time.Second)()
 			http := initFakeHTTP()
 			defer http.StubWithFixture(200, "forkResult.json")()
+			defer stubTerminal(true)()
 
 			output, err := RunCommand(tt.args)
 			if err != nil {
 				t.Errorf("error running command `repo fork`: %v", err)
 			}
 
-			eq(t, output.Stderr(), "")
+			eq(t, output.String(), "")
 
-			r := regexp.MustCompile(`Created fork someone/REPO`)
-			if !r.MatchString(output.String()) {
+			r := regexp.MustCompile(`Created fork.*someone/REPO`)
+			if !r.MatchString(output.Stderr()) {
 				t.Errorf("output did not match regexp /%s/\n> output\n%s\n", r, output)
 				return
 			}
@@ -155,6 +227,7 @@ func TestRepoFork_in_parent_yes(t *testing.T) {
 	http := initFakeHTTP()
 	http.StubRepoResponse("OWNER", "REPO")
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	var seenCmds []*exec.Cmd
 	defer run.SetPrepareCmd(func(cmd *exec.Cmd) run.Runnable {
@@ -176,11 +249,11 @@ func TestRepoFork_in_parent_yes(t *testing.T) {
 		eq(t, strings.Join(cmd.Args, " "), expectedCmds[x])
 	}
 
-	eq(t, output.Stderr(), "")
+	eq(t, output.String(), "")
 
-	test.ExpectLines(t, output.String(),
-		"Created fork someone/REPO",
-		"Added remote origin")
+	test.ExpectLines(t, output.Stderr(),
+		"Created fork.*someone/REPO",
+		"Added remote.*origin")
 }
 
 func TestRepoFork_outside_yes(t *testing.T) {
@@ -188,6 +261,7 @@ func TestRepoFork_outside_yes(t *testing.T) {
 	defer stubSince(2 * time.Second)()
 	http := initFakeHTTP()
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	cs, restore := test.InitCmdStubber()
 	defer restore()
@@ -200,13 +274,13 @@ func TestRepoFork_outside_yes(t *testing.T) {
 		t.Errorf("error running command `repo fork`: %v", err)
 	}
 
-	eq(t, output.Stderr(), "")
+	eq(t, output.String(), "")
 
 	eq(t, strings.Join(cs.Calls[0].Args, " "), "git clone https://github.com/someone/REPO.git")
 	eq(t, strings.Join(cs.Calls[1].Args, " "), "git -C REPO remote add -f upstream https://github.com/OWNER/REPO.git")
 
-	test.ExpectLines(t, output.String(),
-		"Created fork someone/REPO",
+	test.ExpectLines(t, output.Stderr(),
+		"Created fork.*someone/REPO",
 		"Cloned fork")
 }
 
@@ -215,6 +289,7 @@ func TestRepoFork_outside_survey_yes(t *testing.T) {
 	defer stubSince(2 * time.Second)()
 	http := initFakeHTTP()
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	cs, restore := test.InitCmdStubber()
 	defer restore()
@@ -234,13 +309,13 @@ func TestRepoFork_outside_survey_yes(t *testing.T) {
 		t.Errorf("error running command `repo fork`: %v", err)
 	}
 
-	eq(t, output.Stderr(), "")
+	eq(t, output.String(), "")
 
 	eq(t, strings.Join(cs.Calls[0].Args, " "), "git clone https://github.com/someone/REPO.git")
 	eq(t, strings.Join(cs.Calls[1].Args, " "), "git -C REPO remote add -f upstream https://github.com/OWNER/REPO.git")
 
-	test.ExpectLines(t, output.String(),
-		"Created fork someone/REPO",
+	test.ExpectLines(t, output.Stderr(),
+		"Created fork.*someone/REPO",
 		"Cloned fork")
 }
 
@@ -249,6 +324,7 @@ func TestRepoFork_outside_survey_no(t *testing.T) {
 	defer stubSince(2 * time.Second)()
 	http := initFakeHTTP()
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	cmdRun := false
 	defer run.SetPrepareCmd(func(cmd *exec.Cmd) run.Runnable {
@@ -268,12 +344,12 @@ func TestRepoFork_outside_survey_no(t *testing.T) {
 		t.Errorf("error running command `repo fork`: %v", err)
 	}
 
-	eq(t, output.Stderr(), "")
+	eq(t, output.String(), "")
 
 	eq(t, cmdRun, false)
 
-	r := regexp.MustCompile(`Created fork someone/REPO`)
-	if !r.MatchString(output.String()) {
+	r := regexp.MustCompile(`Created fork.*someone/REPO`)
+	if !r.MatchString(output.Stderr()) {
 		t.Errorf("output did not match regexp /%s/\n> output\n%s\n", r, output)
 		return
 	}
@@ -286,6 +362,7 @@ func TestRepoFork_in_parent_survey_yes(t *testing.T) {
 	http := initFakeHTTP()
 	http.StubRepoResponse("OWNER", "REPO")
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	var seenCmds []*exec.Cmd
 	defer run.SetPrepareCmd(func(cmd *exec.Cmd) run.Runnable {
@@ -314,12 +391,12 @@ func TestRepoFork_in_parent_survey_yes(t *testing.T) {
 		eq(t, strings.Join(cmd.Args, " "), expectedCmds[x])
 	}
 
-	eq(t, output.Stderr(), "")
+	eq(t, output.String(), "")
 
-	test.ExpectLines(t, output.String(),
-		"Created fork someone/REPO",
-		"Renamed origin remote to upstream",
-		"Added remote origin")
+	test.ExpectLines(t, output.Stderr(),
+		"Created fork.*someone/REPO",
+		"Renamed.*origin.*remote to.*upstream",
+		"Added remote.*origin")
 }
 
 func TestRepoFork_in_parent_survey_no(t *testing.T) {
@@ -329,6 +406,7 @@ func TestRepoFork_in_parent_survey_no(t *testing.T) {
 	http := initFakeHTTP()
 	http.StubRepoResponse("OWNER", "REPO")
 	defer http.StubWithFixture(200, "forkResult.json")()
+	defer stubTerminal(true)()
 
 	cmdRun := false
 	defer run.SetPrepareCmd(func(cmd *exec.Cmd) run.Runnable {
@@ -348,12 +426,12 @@ func TestRepoFork_in_parent_survey_no(t *testing.T) {
 		t.Errorf("error running command `repo fork`: %v", err)
 	}
 
-	eq(t, output.Stderr(), "")
+	eq(t, output.String(), "")
 
 	eq(t, cmdRun, false)
 
-	r := regexp.MustCompile(`Created fork someone/REPO`)
-	if !r.MatchString(output.String()) {
+	r := regexp.MustCompile(`Created fork.*someone/REPO`)
+	if !r.MatchString(output.Stderr()) {
 		t.Errorf("output did not match regexp /%s/\n> output\n%s\n", r, output)
 		return
 	}
@@ -766,6 +844,8 @@ func TestRepoView_web(t *testing.T) {
 	})
 	defer restoreCmd()
 
+	defer stubTerminal(true)()
+
 	output, err := RunCommand("repo view -w")
 	if err != nil {
 		t.Errorf("error running command `repo view`: %v", err)
@@ -799,6 +879,7 @@ func TestRepoView_web_ownerRepo(t *testing.T) {
 		return &test.OutputStub{}
 	})
 	defer restoreCmd()
+	defer stubTerminal(true)()
 
 	output, err := RunCommand("repo view -w cli/cli")
 	if err != nil {
@@ -833,6 +914,7 @@ func TestRepoView_web_fullURL(t *testing.T) {
 	})
 	defer restoreCmd()
 
+	defer stubTerminal(true)()
 	output, err := RunCommand("repo view -w https://github.com/cli/cli")
 	if err != nil {
 		t.Errorf("error running command `repo view`: %v", err)
@@ -865,6 +947,8 @@ func TestRepoView(t *testing.T) {
 		{ "name": "readme.md",
 		"content": "IyB0cnVseSBjb29sIHJlYWRtZSBjaGVjayBpdCBvdXQ="}`))
 
+	defer stubTerminal(true)()
+
 	output, err := RunCommand("repo view")
 	if err != nil {
 		t.Errorf("error running command `repo view`: %v", err)
@@ -875,7 +959,6 @@ func TestRepoView(t *testing.T) {
 		"social distancing",
 		"truly cool readme",
 		"View this repository on GitHub: https://github.com/OWNER/REPO")
-
 }
 
 func TestRepoView_nonmarkdown_readme(t *testing.T) {
@@ -895,6 +978,8 @@ func TestRepoView_nonmarkdown_readme(t *testing.T) {
 		{ "name": "readme.org",
 		"content": "IyB0cnVseSBjb29sIHJlYWRtZSBjaGVjayBpdCBvdXQ="}`))
 
+	defer stubTerminal(true)()
+
 	output, err := RunCommand("repo view")
 	if err != nil {
 		t.Errorf("error running command `repo view`: %v", err)
@@ -916,6 +1001,8 @@ func TestRepoView_blanks(t *testing.T) {
 		httpmock.REST("GET", "repos/OWNER/REPO/readme"),
 		httpmock.StatusStringResponse(404, `{}`))
 
+	defer stubTerminal(true)()
+
 	output, err := RunCommand("repo view")
 	if err != nil {
 		t.Errorf("error running command `repo view`: %v", err)
@@ -927,3 +1014,34 @@ func TestRepoView_blanks(t *testing.T) {
 		"This repository does not have a README",
 		"View this repository on GitHub: https://github.com/OWNER/REPO")
 }
+
+func TestRepoView_nontty(t *testing.T) {
+	initBlankContext("", "OWNER/REPO", "master")
+	http := initFakeHTTP()
+	http.StubRepoResponse("OWNER", "REPO")
+	http.Register(
+		httpmock.GraphQL(`query RepositoryInfo\b`),
+		httpmock.StringResponse(`
+		{ "data": {
+			"repository": {
+			"description": "social distancing"
+		} } }`))
+	http.Register(
+		httpmock.REST("GET", "repos/OWNER/REPO/readme"),
+		httpmock.StringResponse(`
+		{ "name": "readme.md",
+		"content": "IyB0cnVseSBjb29sIHJlYWRtZSBjaGVjayBpdCBvdXQ="}`))
+
+	defer stubTerminal(false)()
+
+	output, err := RunCommand("repo view")
+	if err != nil {
+		t.Errorf("error running command `repo view`: %v", err)
+	}
+
+	test.ExpectLines(t, output.String(),
+		"OWNER/REPO",
+		"social distancing",
+		"# truly cool readme check it out",
+	)
+}

{"TestRepoFork_outside_survey_no": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside/full_name_arg": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_already_forked": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent_survey_no": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_nontty_insufficient_flags": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent_yes": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside_yes": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside/url_arg": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_reuseRemote": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside_survey_yes": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside_parent_nontty": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent_survey_yes": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent_nontty": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent": {"run": "PASS", "test": "FAIL", "fix": "PASS"}}
{"TestIssueCreate_webTitleBody": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_defaults_error_autofill": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigSet": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_MERGED_state": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStateTitleWithColor/Open_state": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun_inputFile/stdin": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/shorthand_with_directory": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/no_arguments": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue/file": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listURLWithQuery": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_web_currentBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/clone_arguments_with_directory": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_determineTrackingBranch_noMatch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_multipleMergeMethods": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestChangelogURL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueReopen": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasSet_invalid_command": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addQuery/append": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestBranchDeleteRemote": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindLegacy/Template_in_docs": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGistCreate_stdin": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addQuery/append_query": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGistCreate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGraphQL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_RepoCreate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_validation": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_blankSlate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addQuery/bool": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_httpRequest/simple_GET": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_RepoMetadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Open_PR_with_reviewers_by_number": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasList": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_bash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/non-GitHub_hostname": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addPerPage": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addQuery": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoCreate_org": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_groupGraphQLVariables/empty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_survey_defaults_multicommit": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun_paginationREST": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun/failure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestBranchDeleteRemote/error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/Cobra_flag_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Open_PR_with_reviewers_by_number": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_zsh": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_tty_Preview": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStateTitleWithColor/Closed_state": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueClose": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/filesystem_path": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrClose": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoCreate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Open_PR_with_metadata_by_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_urlArg_differentBase": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filteringClosed": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigGetHost": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_sameRepo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_nontty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_CheckScopes/missing_read:org": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_httpRequest/POST_with_body_and_type": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_interactive_blank_approve": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents/Has_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_indent/blank": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoCreate_orgWithTeam": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindNonLegacy/Template_folder_in_.github_takes_precedence": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_Remotes_FindByName": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/too_many_path_components": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_web_fullURL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_blank_request_changes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/HTTPS_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_current": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_httpRequest/POST_GraphQL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindNonLegacy/Template_folder_in_root": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_deleteBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findNextPage": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_branchArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_tty_withFlags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasSet_existing_alias": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findEndCursor/more_pageInfo_blocks": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRDiff_no_current_pr": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/multiple_results": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone_hasParent": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filtering": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_resolvedRemotes_clonedFork": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRESTGetDelete": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/with_pagination": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigSet_update": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/filesystem_path_with_scheme": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_CheckScopes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasList_empty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_currentBranch_defaultBranch_repoFlag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filteringRemoveDuplicate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_groupGraphQLVariables": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindNonLegacy/Legacy_templates_ignored": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_alreadyExists": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/current_is_prerelease": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_CheckScopes/no_scopes_in_response": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_openUserFile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun/success_204": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/github.com_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun/REST_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Open_PR_with_metadata_by_number": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_withInvalidLimitFlag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_fillPlaceholders": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_nontty_insufficient_flags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Korean_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGraphQLError": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_currentBranch_Closed_defaultBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findNextPage/no_next_page_in_Link": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/one_result_in_total_after_filters": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate_nontty_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_tty_Preview/Open_issue_with_empty_body": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_blank_comment": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/github.com_git_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExpandAlias": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/github.com_SSH_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFuzzyAgo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/shorthand": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_tty_Preview/Closed_issue": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Open_PR_for_the_current_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_httpRequest/POST_with_params": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Korean": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_nontty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Open_PR_for_the_current_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_currentBranch_defaultBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_groupGraphQLVariables/variables_only": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestShellAlias_flag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_url_arg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Merged_PR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigGetHost_unset": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_RepoResolveMetadataIDs": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_tty_Preview/Open_issue_with_metadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/no_matches_after_filters": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/with_request_body_from_file": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/no_results": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addQuery/string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/input_pagination": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo_remoteExists": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_ReportsUncommittedChanges": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_survey_autofill_nontty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_urlArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_groupGraphQLVariables/query_+_variables": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun/show_response_headers": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_defaults_error_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestParseExtraArgs/args_and_target": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindLegacy/No_extension": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/Complete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_multipleMergeMethods_nontty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_nonmarkdown_readme": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/github.com_HTTPS+SSH_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueClose_alreadyClosed": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_httpRequest/GET_with_params": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_existingBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_unsupported": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listURLWithQuery/spaces_in_values": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReady_alreadyReady": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue/null": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findNextPage/no_Link_header": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindLegacy": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStateTitleWithColor": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Open_PR_wth_empty_body_for_the_current_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_survey_defaults_monocommit": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_tty_Preview/Open_issue_without_metadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents/No_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue/file_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo_currentBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun/silent": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/multiple_results_after_filters": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestParseExtraArgs/only_target": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun/show_response_headers_even_when_silent": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_CLOSED_state": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasSet_empty_aliases": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findNextPage/has_next_page": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_rebase": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_groupGraphQLVariables/query_only": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindLegacy/Dash_instead_of_underscore": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/one_result": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_parseFields": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/macOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Open_PR_with_metadata_by_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_currentBranch_showTheMostRecentPR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/SSH_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasSet_gh_command": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_web_notFound": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_cross_repo_same_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/POST_pagination": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_nontty_Preview/Closed_issue": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_currentBranch_Merged": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus_blankSlate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_nontty": {"run": "NONE", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/www.github.com_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestWrite/blank": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_fork": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_deleteNonCurrentBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Closed_PR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_indent/empty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPullRequest_ChecksStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/Incomplete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addQuery/[]byte": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addPerPage/adds_per_page": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_fish": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestReplaceExcessiveWhitespace": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigGet": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasSet_init_alias_cfg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_resolvedRemotes_triangularSetup": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindNonLegacy": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_detachedHead": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addQuery/int": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findEndCursor/unrelated_fields": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasDelete_nonexistent_command": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_reviewsAndChecks": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_web_numberArgWithHash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/override_method": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addPerPage/avoids_adding_per_page_if_already_in_params": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/one_result_after_filters": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_survey_autofill": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_web_branchWithOwnerArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReady": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_determineTrackingBranch_respectTrackingConfig": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueClose_issuesDisabled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestShellAlias_bang": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_indent/indent": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasDelete": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listURLWithQuery/blank": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Japanese": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addPerPage/avoids_adding_per_page_if_already_in_query": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestParseExtraArgs": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/No_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_nontty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueReopen_alreadyOpen": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/with_headers": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_nontty_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_web_numberArgWithHash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindLegacy/Template_in_.github_takes_precedence": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_determineTrackingBranch_empty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_defaults_error_interactive": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/GraphQL_pagination": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_addQuery/nil": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindNonLegacy/Empty_template_directories": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_web_ownerRepo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReopen": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigSetHost": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_ttyTablePrinter_truncate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_withRepoFlag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/DNS_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReady_closed": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasSet_existing_aliases": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_nontty_Preview": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_interactive": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExpandAlias_shell": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrClose_alreadyClosed": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/generic_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_fillPlaceholders/has_substitutes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_CheckScopes/errored_response": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_alreadyExistsDifferentBase": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasSet_arg_processing": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo_invalidBranchName": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filteringAssigneeLabels": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findEndCursor/no_next_page": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestDedent": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Draft_PR_by_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_withInvalidLimitFlag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/with_silenced_output": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue/bool_true": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_CheckScopes/has_admin:org": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/one_result_in_total": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_nontty_insufficient_flags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRemoteURLFormatting_ssh_config": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue/placeholder": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_determineTrackingBranch_hasMatch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrStateTitleWithColor": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate_metadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_resolvedRemotes_forkLookup": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Open_PR_without_metadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRMerge_interactive": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_web_urlArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigSetHost_update": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestWrite": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_withForking": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRDiff_validation": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_web_numberArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Open_PR_with_metadata_by_number": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigGet_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun/success": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_tty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRDiff": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindNonLegacy/Template_folder_in_docs": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findEndCursor/blank": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_metadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo_existingBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_noPrNumberGiven": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Draft_PR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestConfigGet_not_found": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/clone_arguments": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_nontty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRESTError": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun_inputFile/from_file": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_nontty_insufficient_flags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestWrite/nested_object": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_OPEN_state": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Draft_PR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindLegacy/Non_legacy_templates_ignored": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_nontty_Preview/Open_issue_without_metadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findEndCursor": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue/string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestWrite/error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun/GraphQL_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_powerShell": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindNonLegacy/Multiple_templates_in_template_folder": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestBranchDeleteRemote/success": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_fillPlaceholders/no_changes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/Windows": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue/bool_false": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_httpRequest": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_web_urlArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_fillPlaceholders/no_greedy_substitutes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_alreadyMerged": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_nontty_Preview/Open_issue_with_empty_body": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_web_noResultsForBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_CheckScopes/has_read:org": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Chinese_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Open_PR_without_metadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestParseExtraArgs/only_args": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_no_arg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_indent": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/with_fields": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReopen_alreadyOpen": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_blanks": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRemoteURLFormatting_no_config": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_translateRemotes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestAliasSet_space_args": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Draft_PR_by_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_currentBranch_Closed": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Merged_PR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listURLWithQuery/all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestParseExtraArgs/no_args": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/github.com_URL_with_trailing_slash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestWrite/empty_object": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_web_branchArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueReopen_issuesDisabled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_bad_body": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_nontty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge_squash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_currentBranch_Merged_defaultBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRDiff_argument_not_found": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_number_arg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filteringAssignee": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/no_flags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_older": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFindLegacy/Template_in_root": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_maintainerCanModify": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun_inputFile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Japanese_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrMerge": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/unknown_Cobra_command_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExpandAlias_shell_extra_args": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepo_withoutUsername": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestWrite/string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/Linux": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReopen_alreadyMerged": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_interactive_no_body": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findEndCursor/has_next_page": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_nullAssigneeLabels": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview_nontty/Closed_PR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_newer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Chinese": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun_paginationGraphQL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_nontty_Preview/Open_issue_with_metadata": {"run": "PASS", "test": "PASS", "fix": "PASS"}}
{"TestRepoFork_outside_survey_no": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside/full_name_arg": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_already_forked": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent_survey_no": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_nontty_insufficient_flags": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent_yes": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside_yes": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside/url_arg": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_reuseRemote": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside_survey_yes": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_outside_parent_nontty": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent_survey_yes": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent_nontty": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoFork_in_parent": {"run": "PASS", "test": "FAIL", "fix": "PASS"}}
{"passed_count": 413, "failed_count": 2, "skipped_count": 0, "passed_tests": ["TestIssueCreate_webTitleBody", "TestPRCreate_defaults_error_autofill", "TestConfigSet", "TestPrStateTitleWithColor/Format_MERGED_state", "Test_listURLWithQuery", "TestRepoClone/clone_arguments_with_directory", "TestRepoFork_outside_survey_no", "Test_determineTrackingBranch_noMatch", "TestRepoClone", "TestChangelogURL", "TestAliasSet_invalid_command", "Test_addQuery/append", "TestFindLegacy/Template_in_docs", "TestGistCreate_stdin", "Test_addQuery/append_query", "TestGistCreate", "TestGraphQL", "TestPRReview_validation", "TestPRStatus_blankSlate", "TestTruncate", "TestPRList_web", "Test_httpRequest/simple_GET", "Test_RepoMetadata", "Test_magicFieldValue", "TestCompletion_bash", "Test_repoFromURL/non-GitHub_hostname", "TestRepoCreate_org", "Test_apiRun_paginationREST", "Test_apiRun/failure", "TestPRView_Preview", "TestForOS", "TestIssueView_tty_Preview", "TestIssueStateTitleWithColor/Closed_state", "TestIssueClose", "Test_repoFromURL/filesystem_path", "TestPrClose", "TestIssueStatus", "TestPRView_Preview/Open_PR_with_metadata_by_branch", "TestPRCheckout_urlArg_differentBase", "TestConfigGetHost", "TestPRCheckout_sameRepo", "TestIssueList_nontty", "Test_CheckScopes/missing_read:org", "TestExtractContents/Has_front-matter", "TestFindNonLegacy/Template_folder_in_.github_takes_precedence", "Test_Remotes_FindByName", "TestPRReview_blank_request_changes", "TestRepoClone/HTTPS_URL", "TestCheckForUpdate/latest_is_current", "TestPRCheckout_branchArg", "TestIssueList_tty_withFlags", "TestAliasSet_existing_alias", "Test_findEndCursor/more_pageInfo_blocks", "TestPRDiff_no_current_pr", "Test_listHeader/multiple_results", "TestRepoFork_outside/full_name_arg", "TestAliasList_empty", "TestPRStatus_currentBranch_defaultBranch_repoFlag", "TestPRList_filteringRemoveDuplicate", "Test_NewCmdApi", "Test_groupGraphQLVariables", "TestRepoFork_already_forked", "Test_CheckScopes/no_scopes_in_response", "Test_openUserFile", "TestIssueStatus_disabledIssues", "TestPRView_Preview_nontty/Open_PR_with_metadata_by_number", "TestIssueList_withInvalidLimitFlag", "Test_fillPlaceholders", "TestGraphQLError", "Test_findNextPage/no_next_page_in_Link", "Test_listHeader/one_result_in_total_after_filters", "TestIssueCreate_nontty_error", "TestPRReview_blank_comment", "TestPRView_Preview_nontty", "Test_repoFromURL/github.com_git_URL", "TestExpandAlias", "Test_repoFromURL/github.com_SSH_URL", "TestFuzzyAgo", "TestRepoClone/shorthand", "TestIssueView_tty_Preview/Closed_issue", "TestPRView_Preview/Open_PR_for_the_current_branch", "Test_httpRequest/POST_with_params", "TestPRStatus_currentBranch_defaultBranch", "Test_groupGraphQLVariables/variables_only", "TestPRList", "TestPRView_Preview/Merged_PR", "Test_RepoResolveMetadataIDs", "TestIssueView_tty_Preview/Open_issue_with_metadata", "Test_listHeader/no_matches_after_filters", "Test_NewCmdApi/with_request_body_from_file", "Test_groupGraphQLVariables/query_+_variables", "Test_apiRun/show_response_headers", "TestPRCreate_defaults_error_web", "TestFindLegacy/No_extension", "TestRepoView_nonmarkdown_readme", "TestIssueClose_alreadyClosed", "Test_httpRequest/GET_with_params", "Test_listURLWithQuery/spaces_in_values", "TestPRReady_alreadyReady", "Test_magicFieldValue/null", "Test_findNextPage/no_Link_header", "TestFindLegacy", "TestPRCreate", "TestPRView_Preview_nontty/Open_PR_wth_empty_body_for_the_current_branch", "TestIssueView_tty_Preview/Open_issue_without_metadata", "Test_apiRun/silent", "TestParseExtraArgs/only_target", "TestAliasSet_empty_aliases", "Test_groupGraphQLVariables/query_only", "TestFindLegacy/Dash_instead_of_underscore", "Test_printError", "Test_listHeader/one_result", "TestForOS/macOS", "TestPRView_Preview_nontty/Open_PR_with_metadata_by_branch", "TestAliasSet_gh_command", "TestIssueView_web_notFound", "TestPRCreate_cross_repo_same_branch", "Test_NewCmdApi/POST_pagination", "TestIssueView_nontty_Preview/Closed_issue", "TestPRStatus_currentBranch_Merged", "TestIssueStatus_blankSlate", "TestPRView_Preview/Closed_PR", "TestCompletion_fish", "TestAliasSet_init_alias_cfg", "Test_resolvedRemotes_triangularSetup", "TestFindNonLegacy", "TestPRStatus_detachedHead", "TestPRView_web_numberArgWithHash", "TestCheckForUpdate", "TestPRCreate_survey_autofill", "TestPRReady", "TestTruncate/Japanese", "Test_addPerPage/avoids_adding_per_page_if_already_in_query", "TestIssueReopen_alreadyOpen", "Test_NewCmdApi/with_headers", "TestPRCreate_nontty_web", "TestIssueView_web", "Test_addQuery/nil", "TestConfigSetHost", "TestPRReady_closed", "TestAliasSet_existing_aliases", "TestExpandAlias_shell", "TestRepoFork_outside/url_arg", "TestPRCreate_alreadyExistsDifferentBase", "TestAliasSet_arg_processing", "TestPRCheckout_differentRepo_invalidBranchName", "TestPRList_filteringAssigneeLabels", "Test_findEndCursor/no_next_page", "TestDedent", "TestPRView_Preview/Draft_PR_by_branch", "TestPRList_withInvalidLimitFlag", "Test_determineTrackingBranch_hasMatch", "Test_resolvedRemotes_forkLookup", "TestPRView_Preview/Open_PR_without_metadata", "TestIssueList_web", "TestConfigSetHost_update", "TestWrite", "TestPRView_web_numberArg", "TestPRView_Preview/Open_PR_with_metadata_by_number", "TestPRDiff", "TestFindNonLegacy/Template_folder_in_docs", "TestPRCreate_metadata", "TestPRCheckout_differentRepo_existingBranch", "TestPRView_Preview_nontty/Draft_PR", "TestConfigGet_not_found", "TestRepoClone/clone_arguments", "TestRESTError", "Test_apiRun_inputFile/from_file", "TestPRCreate_nontty_insufficient_flags", "TestWrite/nested_object", "TestPRView_Preview/Draft_PR", "Test_findEndCursor", "TestCompletion_powerShell", "TestExtractName", "TestBranchDeleteRemote/success", "Test_fillPlaceholders/no_changes", "TestForOS/Windows", "Test_httpRequest", "Test_fillPlaceholders/no_greedy_substitutes", "TestPrMerge_alreadyMerged", "TestIssueView_nontty_Preview/Open_issue_with_empty_body", "TestRepoFork_in_parent_survey_yes", "Test_indent", "Test_NewCmdApi/with_fields", "TestRemoteURLFormatting_no_config", "TestPRStatus_currentBranch_Closed", "Test_listURLWithQuery/all", "TestIssueCreate_web", "TestPRView_web_branchArg", "TestIssueReopen_issuesDisabled", "TestPRReview_bad_body", "TestPRList_nontty", "TestPRStatus_currentBranch_Merged_defaultBranch", "TestPRReview_number_arg", "TestPRList_filteringAssignee", "Test_NewCmdApi/no_flags", "TestCheckForUpdate/latest_is_older", "TestFindLegacy/Template_in_root", "Test_apiRun_inputFile", "TestTruncate/Japanese_filled", "TestPrMerge", "TestPRStatus", "TestRepo_withoutUsername", "TestForOS/Linux", "TestPRReopen_alreadyMerged", "TestIssueList_nullAssigneeLabels", "TestCheckForUpdate/latest_is_newer", "TestIssueView_nontty_Preview/Open_issue_with_metadata", "TestIssueStateTitleWithColor/Open_state", "Test_apiRun_inputFile/stdin", "TestRepoClone/shorthand_with_directory", "Test_NewCmdApi/no_arguments", "Test_magicFieldValue/file", "TestPRView_web_currentBranch", "TestPrMerge_multipleMergeMethods", "TestIssueReopen", "TestBranchDeleteRemote", "Test_RepoCreate", "Test_addQuery/bool", "TestPRView_Preview/Open_PR_with_reviewers_by_number", "TestAliasList", "Test_addPerPage", "Test_addQuery", "Test_groupGraphQLVariables/empty", "TestPRCreate_survey_defaults_multicommit", "TestBranchDeleteRemote/error", "Test_listHeader", "Test_printError/Cobra_flag_error", "TestPRView_Preview_nontty/Open_PR_with_reviewers_by_number", "TestCompletion_zsh", "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR", "TestRepoCreate", "TestExtractContents", "TestPRList_filteringClosed", "Test_httpRequest/POST_with_body_and_type", "TestPRReview_interactive_blank_approve", "Test_indent/blank", "TestRepoCreate_orgWithTeam", "Test_repoFromURL/too_many_path_components", "Test_apiRun", "TestIssueView_disabledIssues", "TestRepoView_web_fullURL", "TestPRReview", "Test_httpRequest/POST_GraphQL", "TestFindNonLegacy/Template_folder_in_root", "TestPrMerge_deleteBranch", "Test_findNextPage", "TestRepoClone_hasParent", "TestPRList_filtering", "Test_resolvedRemotes_clonedFork", "TestRESTGetDelete", "Test_NewCmdApi/with_pagination", "TestConfigSet_update", "Test_repoFromURL/filesystem_path_with_scheme", "Test_CheckScopes", "TestFindNonLegacy/Legacy_templates_ignored", "TestPRCreate_alreadyExists", "TestCheckForUpdate/current_is_prerelease", "Test_apiRun/success_204", "Test_repoFromURL/github.com_URL", "Test_apiRun/REST_error", "TestPRReview_nontty_insufficient_flags", "TestTruncate/Korean_filled", "TestPRStatus_currentBranch_Closed_defaultBranch", "TestIssueView_tty_Preview/Open_issue_with_empty_body", "TestTruncate/Korean", "TestPRCreate_nontty", "TestPRView_Preview_nontty/Open_PR_for_the_current_branch", "TestShellAlias_flag", "TestRepoView", "TestPRReview_url_arg", "TestConfigGetHost_unset", "Test_listHeader/no_results", "Test_addQuery/string", "Test_NewCmdApi/input_pagination", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestPRCreate_survey_autofill_nontty", "TestPRCheckout_urlArg", "TestParseExtraArgs/args_and_target", "TestExtractName/Complete_front-matter", "TestPrMerge_multipleMergeMethods_nontty", "Test_repoFromURL/github.com_HTTPS+SSH_URL", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestCompletion_unsupported", "TestIssueStateTitleWithColor", "TestPRCreate_survey_defaults_monocommit", "TestExtractContents/No_front-matter", "Test_magicFieldValue/file_error", "TestPRCheckout_differentRepo_currentBranch", "Test_listHeader/multiple_results_after_filters", "Test_apiRun/show_response_headers_even_when_silent", "TestPrStateTitleWithColor/Format_CLOSED_state", "Test_findNextPage/has_next_page", "TestPrMerge_rebase", "Test_parseFields", "TestRepoFork_outside", "TestPRStatus_currentBranch_showTheMostRecentPR", "TestRepoFork_in_parent_survey_no", "TestRepoClone/SSH_URL", "Test_repoFromURL", "Test_repoFromURL/www.github.com_URL", "TestWrite/blank", "TestPRStatus_fork", "TestPrMerge_deleteNonCurrentBranch", "Test_indent/empty", "TestPullRequest_ChecksStatus", "TestRepoFork_in_parent_yes", "TestExtractName/Incomplete_front-matter", "Test_addQuery/[]byte", "Test_addPerPage/adds_per_page", "TestReplaceExcessiveWhitespace", "TestConfigGet", "Test_addQuery/int", "Test_findEndCursor/unrelated_fields", "TestAliasDelete_nonexistent_command", "TestPRStatus_reviewsAndChecks", "Test_NewCmdApi/override_method", "Test_addPerPage/avoids_adding_per_page_if_already_in_params", "Test_listHeader/one_result_after_filters", "TestPRView_web_branchWithOwnerArg", "Test_determineTrackingBranch_respectTrackingConfig", "TestIssueClose_issuesDisabled", "TestShellAlias_bang", "Test_indent/indent", "TestAliasDelete", "Test_listURLWithQuery/blank", "TestParseExtraArgs", "TestExtractName/No_front-matter", "TestPRReview_nontty", "TestIssueView_web_numberArgWithHash", "TestFindLegacy/Template_in_.github_takes_precedence", "Test_determineTrackingBranch_empty", "TestPRCreate_defaults_error_interactive", "Test_NewCmdApi/GraphQL_pagination", "TestFindNonLegacy/Empty_template_directories", "TestRepoView_web_ownerRepo", "TestPRReopen", "TestRepoFork_outside_yes", "Test_ttyTablePrinter_truncate", "TestPrMerge_withRepoFlag", "Test_printError/DNS_error", "TestIssueView_nontty_Preview", "TestPRReview_interactive", "TestPrClose_alreadyClosed", "Test_printError/generic_error", "Test_fillPlaceholders/has_substitutes", "Test_CheckScopes/errored_response", "TestIssueList_disabledIssues", "TestRepoFork_reuseRemote", "Test_NewCmdApi/with_silenced_output", "Test_magicFieldValue/bool_true", "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch", "Test_CheckScopes/has_admin:org", "Test_listHeader/one_result_in_total", "TestRepoView_web", "TestPrMerge_nontty_insufficient_flags", "TestRemoteURLFormatting_ssh_config", "Test_magicFieldValue/placeholder", "TestPRCreate_web", "TestPrStateTitleWithColor", "TestIssueCreate_metadata", "TestPRCheckout_differentRepo", "TestPRMerge_interactive", "TestPRView_web_urlArg", "TestPRCreate_withForking", "TestPRDiff_validation", "TestConfigGet_default", "Test_apiRun/success", "TestIssueList_tty", "Test_findEndCursor/blank", "TestPrMerge_noPrNumberGiven", "TestPrMerge_nontty", "TestPrStateTitleWithColor/Format_OPEN_state", "TestIssueCreate", "TestFindLegacy/Non_legacy_templates_ignored", "TestIssueView_nontty_Preview/Open_issue_without_metadata", "Test_magicFieldValue/string", "TestWrite/error", "Test_apiRun/GraphQL_error", "TestFindNonLegacy/Multiple_templates_in_template_folder", "Test_magicFieldValue/bool_false", "TestIssueView_web_urlArg", "TestPRView_web_noResultsForBranch", "Test_CheckScopes/has_read:org", "TestTruncate/Chinese_filled", "TestPRView_Preview_nontty/Open_PR_without_metadata", "TestParseExtraArgs/only_args", "TestPRReview_no_arg", "TestPRReopen_alreadyOpen", "TestRepoView_blanks", "Test_translateRemotes", "TestAliasSet_space_args", "TestPRView_Preview_nontty/Draft_PR_by_branch", "TestPRView_Preview_nontty/Merged_PR", "TestParseExtraArgs/no_args", "Test_repoFromURL/github.com_URL_with_trailing_slash", "TestWrite/empty_object", "TestPrMerge_squash", "TestPRDiff_argument_not_found", "TestIssueList", "TestPRCheckout_maintainerCanModify", "Test_printError/unknown_Cobra_command_error", "TestExpandAlias_shell_extra_args", "TestWrite/string", "TestRepoFork_in_parent", "TestPRReview_interactive_no_body", "Test_findEndCursor/has_next_page", "TestPRView_Preview_nontty/Closed_PR", "TestTruncate/Chinese", "Test_apiRun_paginationGraphQL", "TestRepoFork_outside_survey_yes"], "failed_tests": ["github.com/cli/cli/git", "github.com/cli/cli/internal/config"], "skipped_tests": []}
{"passed_count": 402, "failed_count": 18, "skipped_count": 0, "passed_tests": ["TestIssueCreate_webTitleBody", "TestPRCreate_defaults_error_autofill", "TestConfigSet", "TestPrStateTitleWithColor/Format_MERGED_state", "Test_listURLWithQuery", "TestRepoClone/clone_arguments_with_directory", "Test_determineTrackingBranch_noMatch", "TestRepoClone", "TestChangelogURL", "TestAliasSet_invalid_command", "Test_addQuery/append", "TestFindLegacy/Template_in_docs", "TestGistCreate_stdin", "Test_addQuery/append_query", "TestGistCreate", "TestGraphQL", "TestPRReview_validation", "TestPRStatus_blankSlate", "TestTruncate", "TestPRList_web", "Test_httpRequest/simple_GET", "Test_RepoMetadata", "Test_magicFieldValue", "TestCompletion_bash", "Test_repoFromURL/non-GitHub_hostname", "TestRepoCreate_org", "Test_apiRun_paginationREST", "Test_apiRun/failure", "TestPRView_Preview", "TestForOS", "TestIssueView_tty_Preview", "TestIssueStateTitleWithColor/Closed_state", "TestIssueClose", "Test_repoFromURL/filesystem_path", "TestPrClose", "TestIssueStatus", "TestPRView_Preview/Open_PR_with_metadata_by_branch", "TestPRCheckout_urlArg_differentBase", "TestConfigGetHost", "TestPRCheckout_sameRepo", "TestIssueList_nontty", "Test_CheckScopes/missing_read:org", "TestExtractContents/Has_front-matter", "TestFindNonLegacy/Template_folder_in_.github_takes_precedence", "Test_Remotes_FindByName", "TestPRReview_blank_request_changes", "TestRepoClone/HTTPS_URL", "TestCheckForUpdate/latest_is_current", "TestPRCheckout_branchArg", "TestIssueList_tty_withFlags", "TestAliasSet_existing_alias", "Test_findEndCursor/more_pageInfo_blocks", "TestPRDiff_no_current_pr", "Test_listHeader/multiple_results", "TestAliasList_empty", "TestPRStatus_currentBranch_defaultBranch_repoFlag", "TestPRList_filteringRemoveDuplicate", "Test_NewCmdApi", "Test_groupGraphQLVariables", "Test_CheckScopes/no_scopes_in_response", "Test_openUserFile", "TestIssueStatus_disabledIssues", "TestPRView_Preview_nontty/Open_PR_with_metadata_by_number", "TestIssueList_withInvalidLimitFlag", "Test_fillPlaceholders", "TestGraphQLError", "Test_findNextPage/no_next_page_in_Link", "Test_listHeader/one_result_in_total_after_filters", "TestIssueCreate_nontty_error", "TestPRReview_blank_comment", "TestPRView_Preview_nontty", "Test_repoFromURL/github.com_git_URL", "TestExpandAlias", "Test_repoFromURL/github.com_SSH_URL", "TestFuzzyAgo", "TestRepoClone/shorthand", "TestIssueView_tty_Preview/Closed_issue", "TestPRView_Preview/Open_PR_for_the_current_branch", "Test_httpRequest/POST_with_params", "TestPRStatus_currentBranch_defaultBranch", "Test_groupGraphQLVariables/variables_only", "TestPRList", "TestPRView_Preview/Merged_PR", "Test_RepoResolveMetadataIDs", "TestIssueView_tty_Preview/Open_issue_with_metadata", "Test_listHeader/no_matches_after_filters", "Test_NewCmdApi/with_request_body_from_file", "Test_groupGraphQLVariables/query_+_variables", "Test_apiRun/show_response_headers", "TestPRCreate_defaults_error_web", "TestFindLegacy/No_extension", "TestRepoView_nonmarkdown_readme", "TestIssueClose_alreadyClosed", "Test_httpRequest/GET_with_params", "Test_listURLWithQuery/spaces_in_values", "TestPRReady_alreadyReady", "Test_magicFieldValue/null", "Test_findNextPage/no_Link_header", "TestFindLegacy", "TestPRCreate", "TestPRView_Preview_nontty/Open_PR_wth_empty_body_for_the_current_branch", "TestIssueView_tty_Preview/Open_issue_without_metadata", "Test_apiRun/silent", "TestParseExtraArgs/only_target", "TestAliasSet_empty_aliases", "Test_groupGraphQLVariables/query_only", "TestFindLegacy/Dash_instead_of_underscore", "Test_printError", "Test_listHeader/one_result", "TestForOS/macOS", "TestPRView_Preview_nontty/Open_PR_with_metadata_by_branch", "TestAliasSet_gh_command", "TestIssueView_web_notFound", "TestPRCreate_cross_repo_same_branch", "Test_NewCmdApi/POST_pagination", "TestIssueView_nontty_Preview/Closed_issue", "TestPRStatus_currentBranch_Merged", "TestIssueStatus_blankSlate", "TestPRView_Preview/Closed_PR", "TestCompletion_fish", "TestAliasSet_init_alias_cfg", "Test_resolvedRemotes_triangularSetup", "TestFindNonLegacy", "TestPRStatus_detachedHead", "TestPRView_web_numberArgWithHash", "TestCheckForUpdate", "TestPRCreate_survey_autofill", "TestPRReady", "TestTruncate/Japanese", "Test_addPerPage/avoids_adding_per_page_if_already_in_query", "TestIssueReopen_alreadyOpen", "Test_NewCmdApi/with_headers", "TestPRCreate_nontty_web", "TestIssueView_web", "Test_addQuery/nil", "TestConfigSetHost", "TestPRReady_closed", "TestAliasSet_existing_aliases", "TestExpandAlias_shell", "TestPRCreate_alreadyExistsDifferentBase", "TestAliasSet_arg_processing", "TestPRCheckout_differentRepo_invalidBranchName", "TestPRList_filteringAssigneeLabels", "Test_findEndCursor/no_next_page", "TestDedent", "TestPRView_Preview/Draft_PR_by_branch", "TestPRList_withInvalidLimitFlag", "Test_determineTrackingBranch_hasMatch", "Test_resolvedRemotes_forkLookup", "TestPRView_Preview/Open_PR_without_metadata", "TestIssueList_web", "TestConfigSetHost_update", "TestWrite", "TestPRView_web_numberArg", "TestPRView_Preview/Open_PR_with_metadata_by_number", "TestPRDiff", "TestFindNonLegacy/Template_folder_in_docs", "TestPRCreate_metadata", "TestPRCheckout_differentRepo_existingBranch", "TestPRView_Preview_nontty/Draft_PR", "TestConfigGet_not_found", "TestRepoClone/clone_arguments", "TestRESTError", "Test_apiRun_inputFile/from_file", "TestPRCreate_nontty_insufficient_flags", "TestWrite/nested_object", "TestPRView_Preview/Draft_PR", "Test_findEndCursor", "TestCompletion_powerShell", "TestExtractName", "TestBranchDeleteRemote/success", "Test_fillPlaceholders/no_changes", "TestForOS/Windows", "Test_httpRequest", "Test_fillPlaceholders/no_greedy_substitutes", "TestPrMerge_alreadyMerged", "TestIssueView_nontty_Preview/Open_issue_with_empty_body", "Test_indent", "Test_NewCmdApi/with_fields", "TestRemoteURLFormatting_no_config", "TestPRStatus_currentBranch_Closed", "Test_listURLWithQuery/all", "TestIssueCreate_web", "TestPRView_web_branchArg", "TestIssueReopen_issuesDisabled", "TestPRReview_bad_body", "TestPRList_nontty", "TestPRStatus_currentBranch_Merged_defaultBranch", "TestPRReview_number_arg", "TestPRList_filteringAssignee", "Test_NewCmdApi/no_flags", "TestCheckForUpdate/latest_is_older", "TestFindLegacy/Template_in_root", "Test_apiRun_inputFile", "TestTruncate/Japanese_filled", "TestPrMerge", "TestPRStatus", "TestRepo_withoutUsername", "TestForOS/Linux", "TestPRReopen_alreadyMerged", "TestIssueList_nullAssigneeLabels", "TestCheckForUpdate/latest_is_newer", "TestIssueView_nontty_Preview/Open_issue_with_metadata", "TestIssueStateTitleWithColor/Open_state", "Test_apiRun_inputFile/stdin", "TestRepoClone/shorthand_with_directory", "Test_NewCmdApi/no_arguments", "Test_magicFieldValue/file", "TestPRView_web_currentBranch", "TestPrMerge_multipleMergeMethods", "TestIssueReopen", "TestBranchDeleteRemote", "Test_RepoCreate", "Test_addQuery/bool", "TestPRView_Preview/Open_PR_with_reviewers_by_number", "TestAliasList", "Test_addPerPage", "Test_addQuery", "Test_groupGraphQLVariables/empty", "TestPRCreate_survey_defaults_multicommit", "TestBranchDeleteRemote/error", "Test_listHeader", "Test_printError/Cobra_flag_error", "TestPRView_Preview_nontty/Open_PR_with_reviewers_by_number", "TestCompletion_zsh", "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR", "TestRepoCreate", "TestExtractContents", "TestPRList_filteringClosed", "Test_httpRequest/POST_with_body_and_type", "TestPRReview_interactive_blank_approve", "Test_indent/blank", "TestRepoCreate_orgWithTeam", "Test_repoFromURL/too_many_path_components", "Test_apiRun", "TestIssueView_disabledIssues", "TestRepoView_web_fullURL", "TestPRReview", "Test_httpRequest/POST_GraphQL", "TestFindNonLegacy/Template_folder_in_root", "TestPrMerge_deleteBranch", "Test_findNextPage", "TestRepoClone_hasParent", "TestPRList_filtering", "Test_resolvedRemotes_clonedFork", "TestRESTGetDelete", "TestConfigSet_update", "Test_NewCmdApi/with_pagination", "Test_repoFromURL/filesystem_path_with_scheme", "Test_CheckScopes", "TestFindNonLegacy/Legacy_templates_ignored", "TestPRCreate_alreadyExists", "TestCheckForUpdate/current_is_prerelease", "Test_apiRun/success_204", "Test_repoFromURL/github.com_URL", "Test_apiRun/REST_error", "TestPRReview_nontty_insufficient_flags", "TestTruncate/Korean_filled", "TestPRStatus_currentBranch_Closed_defaultBranch", "TestIssueView_tty_Preview/Open_issue_with_empty_body", "TestTruncate/Korean", "TestPRCreate_nontty", "TestPRView_Preview_nontty/Open_PR_for_the_current_branch", "TestShellAlias_flag", "TestRepoView", "TestPRReview_url_arg", "TestConfigGetHost_unset", "Test_listHeader/no_results", "Test_addQuery/string", "Test_NewCmdApi/input_pagination", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestPRCreate_survey_autofill_nontty", "TestPRCheckout_urlArg", "TestParseExtraArgs/args_and_target", "TestExtractName/Complete_front-matter", "TestPrMerge_multipleMergeMethods_nontty", "Test_repoFromURL/github.com_HTTPS+SSH_URL", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestCompletion_unsupported", "TestIssueStateTitleWithColor", "TestPRCreate_survey_defaults_monocommit", "TestExtractContents/No_front-matter", "Test_magicFieldValue/file_error", "TestPRCheckout_differentRepo_currentBranch", "Test_listHeader/multiple_results_after_filters", "Test_apiRun/show_response_headers_even_when_silent", "TestPrStateTitleWithColor/Format_CLOSED_state", "Test_findNextPage/has_next_page", "TestPrMerge_rebase", "Test_parseFields", "TestPRStatus_currentBranch_showTheMostRecentPR", "TestRepoClone/SSH_URL", "Test_repoFromURL", "TestRepoView_nontty", "Test_repoFromURL/www.github.com_URL", "TestWrite/blank", "TestPRStatus_fork", "TestPrMerge_deleteNonCurrentBranch", "Test_indent/empty", "TestPullRequest_ChecksStatus", "TestExtractName/Incomplete_front-matter", "Test_addQuery/[]byte", "Test_addPerPage/adds_per_page", "TestReplaceExcessiveWhitespace", "TestConfigGet", "Test_addQuery/int", "Test_findEndCursor/unrelated_fields", "TestAliasDelete_nonexistent_command", "TestPRStatus_reviewsAndChecks", "Test_NewCmdApi/override_method", "Test_addPerPage/avoids_adding_per_page_if_already_in_params", "Test_listHeader/one_result_after_filters", "TestPRView_web_branchWithOwnerArg", "Test_determineTrackingBranch_respectTrackingConfig", "TestIssueClose_issuesDisabled", "TestShellAlias_bang", "Test_indent/indent", "TestAliasDelete", "Test_listURLWithQuery/blank", "TestParseExtraArgs", "TestExtractName/No_front-matter", "TestPRReview_nontty", "TestIssueView_web_numberArgWithHash", "TestFindLegacy/Template_in_.github_takes_precedence", "Test_determineTrackingBranch_empty", "TestPRCreate_defaults_error_interactive", "Test_NewCmdApi/GraphQL_pagination", "TestFindNonLegacy/Empty_template_directories", "TestRepoView_web_ownerRepo", "TestPRReopen", "Test_ttyTablePrinter_truncate", "TestPrMerge_withRepoFlag", "Test_printError/DNS_error", "TestIssueView_nontty_Preview", "TestPRReview_interactive", "TestPrClose_alreadyClosed", "Test_printError/generic_error", "Test_fillPlaceholders/has_substitutes", "Test_CheckScopes/errored_response", "TestIssueList_disabledIssues", "Test_NewCmdApi/with_silenced_output", "Test_magicFieldValue/bool_true", "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch", "Test_CheckScopes/has_admin:org", "Test_listHeader/one_result_in_total", "TestRepoView_web", "TestPrMerge_nontty_insufficient_flags", "TestRemoteURLFormatting_ssh_config", "Test_magicFieldValue/placeholder", "TestPRCreate_web", "TestPrStateTitleWithColor", "TestIssueCreate_metadata", "TestPRCheckout_differentRepo", "TestPRMerge_interactive", "TestPRView_web_urlArg", "TestPRCreate_withForking", "TestPRDiff_validation", "TestConfigGet_default", "Test_apiRun/success", "TestIssueList_tty", "Test_findEndCursor/blank", "TestPrMerge_noPrNumberGiven", "TestPrMerge_nontty", "TestPrStateTitleWithColor/Format_OPEN_state", "TestIssueCreate", "TestFindLegacy/Non_legacy_templates_ignored", "TestIssueView_nontty_Preview/Open_issue_without_metadata", "Test_magicFieldValue/string", "TestWrite/error", "Test_apiRun/GraphQL_error", "TestFindNonLegacy/Multiple_templates_in_template_folder", "Test_magicFieldValue/bool_false", "TestIssueView_web_urlArg", "TestPRView_web_noResultsForBranch", "Test_CheckScopes/has_read:org", "TestTruncate/Chinese_filled", "TestPRView_Preview_nontty/Open_PR_without_metadata", "TestParseExtraArgs/only_args", "TestPRReview_no_arg", "TestPRReopen_alreadyOpen", "TestRepoView_blanks", "Test_translateRemotes", "TestAliasSet_space_args", "TestPRView_Preview_nontty/Draft_PR_by_branch", "TestPRView_Preview_nontty/Merged_PR", "TestParseExtraArgs/no_args", "Test_repoFromURL/github.com_URL_with_trailing_slash", "TestWrite/empty_object", "TestPrMerge_squash", "TestPRDiff_argument_not_found", "TestIssueList", "TestPRCheckout_maintainerCanModify", "Test_printError/unknown_Cobra_command_error", "TestExpandAlias_shell_extra_args", "TestWrite/string", "TestPRReview_interactive_no_body", "Test_findEndCursor/has_next_page", "TestPRView_Preview_nontty/Closed_PR", "TestTruncate/Chinese", "Test_apiRun_paginationGraphQL"], "failed_tests": ["TestRepoFork_in_parent_survey_no", "TestRepoFork_outside/url_arg", "TestRepoFork_in_parent_yes", "TestRepoFork_in_parent_survey_yes", "TestRepoFork_outside_parent_nontty", "TestRepoFork_outside", "TestRepoFork_outside/full_name_arg", "TestRepoFork_outside_yes", "github.com/cli/cli/command", "github.com/cli/cli/git", "TestRepoFork_in_parent_nontty", "github.com/cli/cli/internal/config", "TestRepoFork_already_forked", "TestRepoFork_nontty_insufficient_flags", "TestRepoFork_reuseRemote", "TestRepoFork_outside_survey_no", "TestRepoFork_in_parent", "TestRepoFork_outside_survey_yes"], "skipped_tests": []}
{"passed_count": 417, "failed_count": 2, "skipped_count": 0, "passed_tests": ["TestIssueCreate_webTitleBody", "TestPRCreate_defaults_error_autofill", "TestConfigSet", "TestPrStateTitleWithColor/Format_MERGED_state", "Test_listURLWithQuery", "TestRepoClone/clone_arguments_with_directory", "TestRepoFork_outside_survey_no", "Test_determineTrackingBranch_noMatch", "TestRepoClone", "TestChangelogURL", "TestAliasSet_invalid_command", "Test_addQuery/append", "TestFindLegacy/Template_in_docs", "TestGistCreate_stdin", "Test_addQuery/append_query", "TestGistCreate", "TestGraphQL", "TestPRReview_validation", "TestPRStatus_blankSlate", "TestTruncate", "TestPRList_web", "Test_httpRequest/simple_GET", "Test_RepoMetadata", "Test_magicFieldValue", "TestCompletion_bash", "Test_repoFromURL/non-GitHub_hostname", "TestRepoCreate_org", "Test_apiRun_paginationREST", "Test_apiRun/failure", "TestPRView_Preview", "TestForOS", "TestIssueView_tty_Preview", "TestIssueStateTitleWithColor/Closed_state", "TestIssueClose", "Test_repoFromURL/filesystem_path", "TestPrClose", "TestIssueStatus", "TestPRView_Preview/Open_PR_with_metadata_by_branch", "TestPRCheckout_urlArg_differentBase", "TestConfigGetHost", "TestPRCheckout_sameRepo", "TestIssueList_nontty", "Test_CheckScopes/missing_read:org", "TestExtractContents/Has_front-matter", "TestFindNonLegacy/Template_folder_in_.github_takes_precedence", "Test_Remotes_FindByName", "TestPRReview_blank_request_changes", "TestRepoClone/HTTPS_URL", "TestCheckForUpdate/latest_is_current", "TestPRCheckout_branchArg", "TestIssueList_tty_withFlags", "TestAliasSet_existing_alias", "Test_findEndCursor/more_pageInfo_blocks", "TestPRDiff_no_current_pr", "Test_listHeader/multiple_results", "TestRepoFork_outside/full_name_arg", "TestAliasList_empty", "TestPRStatus_currentBranch_defaultBranch_repoFlag", "TestPRList_filteringRemoveDuplicate", "Test_NewCmdApi", "Test_groupGraphQLVariables", "TestRepoFork_already_forked", "Test_CheckScopes/no_scopes_in_response", "Test_openUserFile", "TestIssueStatus_disabledIssues", "TestPRView_Preview_nontty/Open_PR_with_metadata_by_number", "TestIssueList_withInvalidLimitFlag", "Test_fillPlaceholders", "TestGraphQLError", "Test_findNextPage/no_next_page_in_Link", "Test_listHeader/one_result_in_total_after_filters", "TestIssueCreate_nontty_error", "TestPRReview_blank_comment", "TestPRView_Preview_nontty", "Test_repoFromURL/github.com_git_URL", "TestExpandAlias", "Test_repoFromURL/github.com_SSH_URL", "TestFuzzyAgo", "TestRepoClone/shorthand", "TestIssueView_tty_Preview/Closed_issue", "TestPRView_Preview/Open_PR_for_the_current_branch", "Test_httpRequest/POST_with_params", "TestPRStatus_currentBranch_defaultBranch", "Test_groupGraphQLVariables/variables_only", "TestPRList", "TestPRView_Preview/Merged_PR", "Test_RepoResolveMetadataIDs", "TestIssueView_tty_Preview/Open_issue_with_metadata", "Test_listHeader/no_matches_after_filters", "Test_NewCmdApi/with_request_body_from_file", "Test_groupGraphQLVariables/query_+_variables", "Test_apiRun/show_response_headers", "TestPRCreate_defaults_error_web", "TestFindLegacy/No_extension", "TestRepoView_nonmarkdown_readme", "TestIssueClose_alreadyClosed", "Test_httpRequest/GET_with_params", "Test_listURLWithQuery/spaces_in_values", "TestPRReady_alreadyReady", "Test_magicFieldValue/null", "Test_findNextPage/no_Link_header", "TestFindLegacy", "TestPRCreate", "TestPRView_Preview_nontty/Open_PR_wth_empty_body_for_the_current_branch", "TestIssueView_tty_Preview/Open_issue_without_metadata", "Test_apiRun/silent", "TestParseExtraArgs/only_target", "TestAliasSet_empty_aliases", "Test_groupGraphQLVariables/query_only", "TestFindLegacy/Dash_instead_of_underscore", "Test_printError", "Test_listHeader/one_result", "TestForOS/macOS", "TestPRView_Preview_nontty/Open_PR_with_metadata_by_branch", "TestAliasSet_gh_command", "TestIssueView_web_notFound", "TestPRCreate_cross_repo_same_branch", "Test_NewCmdApi/POST_pagination", "TestIssueView_nontty_Preview/Closed_issue", "TestPRStatus_currentBranch_Merged", "TestIssueStatus_blankSlate", "TestRepoFork_nontty_insufficient_flags", "TestPRView_Preview/Closed_PR", "TestCompletion_fish", "TestAliasSet_init_alias_cfg", "Test_resolvedRemotes_triangularSetup", "TestFindNonLegacy", "TestPRStatus_detachedHead", "TestPRView_web_numberArgWithHash", "TestCheckForUpdate", "TestPRCreate_survey_autofill", "TestPRReady", "TestTruncate/Japanese", "Test_addPerPage/avoids_adding_per_page_if_already_in_query", "TestIssueReopen_alreadyOpen", "Test_NewCmdApi/with_headers", "TestPRCreate_nontty_web", "TestIssueView_web", "Test_addQuery/nil", "TestConfigSetHost", "TestPRReady_closed", "TestAliasSet_existing_aliases", "TestExpandAlias_shell", "TestRepoFork_outside/url_arg", "TestPRCreate_alreadyExistsDifferentBase", "TestAliasSet_arg_processing", "TestPRCheckout_differentRepo_invalidBranchName", "TestPRList_filteringAssigneeLabels", "Test_findEndCursor/no_next_page", "TestDedent", "TestPRView_Preview/Draft_PR_by_branch", "TestPRList_withInvalidLimitFlag", "Test_determineTrackingBranch_hasMatch", "Test_resolvedRemotes_forkLookup", "TestPRView_Preview/Open_PR_without_metadata", "TestIssueList_web", "TestConfigSetHost_update", "TestWrite", "TestPRView_web_numberArg", "TestPRView_Preview/Open_PR_with_metadata_by_number", "TestPRDiff", "TestFindNonLegacy/Template_folder_in_docs", "TestPRCreate_metadata", "TestPRCheckout_differentRepo_existingBranch", "TestPRView_Preview_nontty/Draft_PR", "TestConfigGet_not_found", "TestRepoClone/clone_arguments", "TestRESTError", "Test_apiRun_inputFile/from_file", "TestPRCreate_nontty_insufficient_flags", "TestWrite/nested_object", "TestPRView_Preview/Draft_PR", "Test_findEndCursor", "TestCompletion_powerShell", "TestExtractName", "TestBranchDeleteRemote/success", "Test_fillPlaceholders/no_changes", "TestForOS/Windows", "Test_httpRequest", "Test_fillPlaceholders/no_greedy_substitutes", "TestPrMerge_alreadyMerged", "TestIssueView_nontty_Preview/Open_issue_with_empty_body", "TestRepoFork_in_parent_survey_yes", "Test_indent", "Test_NewCmdApi/with_fields", "TestRemoteURLFormatting_no_config", "TestPRStatus_currentBranch_Closed", "Test_listURLWithQuery/all", "TestIssueCreate_web", "TestPRView_web_branchArg", "TestIssueReopen_issuesDisabled", "TestPRReview_bad_body", "TestPRList_nontty", "TestPRStatus_currentBranch_Merged_defaultBranch", "TestRepoFork_in_parent_nontty", "TestPRReview_number_arg", "TestPRList_filteringAssignee", "Test_NewCmdApi/no_flags", "TestCheckForUpdate/latest_is_older", "TestFindLegacy/Template_in_root", "Test_apiRun_inputFile", "TestTruncate/Japanese_filled", "TestPrMerge", "TestPRStatus", "TestRepo_withoutUsername", "TestForOS/Linux", "TestPRReopen_alreadyMerged", "TestIssueList_nullAssigneeLabels", "TestCheckForUpdate/latest_is_newer", "TestIssueView_nontty_Preview/Open_issue_with_metadata", "TestIssueStateTitleWithColor/Open_state", "Test_apiRun_inputFile/stdin", "TestRepoClone/shorthand_with_directory", "Test_NewCmdApi/no_arguments", "Test_magicFieldValue/file", "TestPRView_web_currentBranch", "TestPrMerge_multipleMergeMethods", "TestIssueReopen", "TestBranchDeleteRemote", "Test_RepoCreate", "Test_addQuery/bool", "TestPRView_Preview/Open_PR_with_reviewers_by_number", "TestAliasList", "Test_addPerPage", "Test_addQuery", "Test_groupGraphQLVariables/empty", "TestPRCreate_survey_defaults_multicommit", "TestBranchDeleteRemote/error", "Test_listHeader", "Test_printError/Cobra_flag_error", "TestPRView_Preview_nontty/Open_PR_with_reviewers_by_number", "TestCompletion_zsh", "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR", "TestRepoCreate", "TestExtractContents", "TestPRList_filteringClosed", "Test_httpRequest/POST_with_body_and_type", "TestPRReview_interactive_blank_approve", "Test_indent/blank", "TestRepoCreate_orgWithTeam", "Test_repoFromURL/too_many_path_components", "Test_apiRun", "TestIssueView_disabledIssues", "TestRepoView_web_fullURL", "TestPRReview", "Test_httpRequest/POST_GraphQL", "TestFindNonLegacy/Template_folder_in_root", "TestPrMerge_deleteBranch", "Test_findNextPage", "TestRepoClone_hasParent", "TestPRList_filtering", "Test_resolvedRemotes_clonedFork", "TestRESTGetDelete", "TestConfigSet_update", "Test_NewCmdApi/with_pagination", "Test_repoFromURL/filesystem_path_with_scheme", "Test_CheckScopes", "TestFindNonLegacy/Legacy_templates_ignored", "TestPRCreate_alreadyExists", "TestCheckForUpdate/current_is_prerelease", "Test_apiRun/success_204", "Test_repoFromURL/github.com_URL", "Test_apiRun/REST_error", "TestPRReview_nontty_insufficient_flags", "TestTruncate/Korean_filled", "TestPRStatus_currentBranch_Closed_defaultBranch", "TestIssueView_tty_Preview/Open_issue_with_empty_body", "TestTruncate/Korean", "TestPRCreate_nontty", "TestPRView_Preview_nontty/Open_PR_for_the_current_branch", "TestShellAlias_flag", "TestRepoView", "TestPRReview_url_arg", "TestConfigGetHost_unset", "Test_listHeader/no_results", "Test_addQuery/string", "Test_NewCmdApi/input_pagination", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestPRCreate_survey_autofill_nontty", "TestPRCheckout_urlArg", "TestParseExtraArgs/args_and_target", "TestExtractName/Complete_front-matter", "TestPrMerge_multipleMergeMethods_nontty", "Test_repoFromURL/github.com_HTTPS+SSH_URL", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestCompletion_unsupported", "TestIssueStateTitleWithColor", "TestPRCreate_survey_defaults_monocommit", "TestExtractContents/No_front-matter", "Test_magicFieldValue/file_error", "TestPRCheckout_differentRepo_currentBranch", "Test_listHeader/multiple_results_after_filters", "Test_apiRun/show_response_headers_even_when_silent", "TestPrStateTitleWithColor/Format_CLOSED_state", "Test_findNextPage/has_next_page", "TestPrMerge_rebase", "Test_parseFields", "TestRepoFork_outside", "TestPRStatus_currentBranch_showTheMostRecentPR", "TestRepoFork_in_parent_survey_no", "TestRepoClone/SSH_URL", "Test_repoFromURL", "TestRepoView_nontty", "Test_repoFromURL/www.github.com_URL", "TestWrite/blank", "TestPRStatus_fork", "TestPrMerge_deleteNonCurrentBranch", "Test_indent/empty", "TestPullRequest_ChecksStatus", "TestRepoFork_in_parent_yes", "TestExtractName/Incomplete_front-matter", "Test_addQuery/[]byte", "Test_addPerPage/adds_per_page", "TestReplaceExcessiveWhitespace", "TestConfigGet", "Test_addQuery/int", "Test_findEndCursor/unrelated_fields", "TestAliasDelete_nonexistent_command", "TestPRStatus_reviewsAndChecks", "Test_NewCmdApi/override_method", "Test_addPerPage/avoids_adding_per_page_if_already_in_params", "Test_listHeader/one_result_after_filters", "TestPRView_web_branchWithOwnerArg", "Test_determineTrackingBranch_respectTrackingConfig", "TestIssueClose_issuesDisabled", "TestShellAlias_bang", "Test_indent/indent", "TestAliasDelete", "Test_listURLWithQuery/blank", "TestParseExtraArgs", "TestExtractName/No_front-matter", "TestPRReview_nontty", "TestIssueView_web_numberArgWithHash", "TestFindLegacy/Template_in_.github_takes_precedence", "Test_determineTrackingBranch_empty", "TestPRCreate_defaults_error_interactive", "Test_NewCmdApi/GraphQL_pagination", "TestFindNonLegacy/Empty_template_directories", "TestRepoView_web_ownerRepo", "TestPRReopen", "TestRepoFork_outside_yes", "Test_ttyTablePrinter_truncate", "TestPrMerge_withRepoFlag", "Test_printError/DNS_error", "TestIssueView_nontty_Preview", "TestPRReview_interactive", "TestPrClose_alreadyClosed", "Test_printError/generic_error", "Test_fillPlaceholders/has_substitutes", "Test_CheckScopes/errored_response", "TestIssueList_disabledIssues", "TestRepoFork_reuseRemote", "Test_NewCmdApi/with_silenced_output", "Test_magicFieldValue/bool_true", "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch", "Test_CheckScopes/has_admin:org", "Test_listHeader/one_result_in_total", "TestRepoView_web", "TestPrMerge_nontty_insufficient_flags", "TestRemoteURLFormatting_ssh_config", "Test_magicFieldValue/placeholder", "TestPRCreate_web", "TestPrStateTitleWithColor", "TestIssueCreate_metadata", "TestPRCheckout_differentRepo", "TestPRMerge_interactive", "TestPRView_web_urlArg", "TestPRCreate_withForking", "TestPRDiff_validation", "TestConfigGet_default", "Test_apiRun/success", "TestIssueList_tty", "Test_findEndCursor/blank", "TestPrMerge_noPrNumberGiven", "TestPrMerge_nontty", "TestPrStateTitleWithColor/Format_OPEN_state", "TestRepoFork_outside_parent_nontty", "TestIssueCreate", "TestFindLegacy/Non_legacy_templates_ignored", "TestIssueView_nontty_Preview/Open_issue_without_metadata", "Test_magicFieldValue/string", "TestWrite/error", "Test_apiRun/GraphQL_error", "TestFindNonLegacy/Multiple_templates_in_template_folder", "Test_magicFieldValue/bool_false", "TestIssueView_web_urlArg", "TestPRView_web_noResultsForBranch", "Test_CheckScopes/has_read:org", "TestTruncate/Chinese_filled", "TestPRView_Preview_nontty/Open_PR_without_metadata", "TestParseExtraArgs/only_args", "TestPRReview_no_arg", "TestPRReopen_alreadyOpen", "TestRepoView_blanks", "Test_translateRemotes", "TestAliasSet_space_args", "TestPRView_Preview_nontty/Draft_PR_by_branch", "TestPRView_Preview_nontty/Merged_PR", "TestParseExtraArgs/no_args", "Test_repoFromURL/github.com_URL_with_trailing_slash", "TestWrite/empty_object", "TestPrMerge_squash", "TestPRDiff_argument_not_found", "TestIssueList", "TestPRCheckout_maintainerCanModify", "Test_printError/unknown_Cobra_command_error", "TestExpandAlias_shell_extra_args", "TestWrite/string", "TestRepoFork_in_parent", "TestPRReview_interactive_no_body", "Test_findEndCursor/has_next_page", "TestPRView_Preview_nontty/Closed_PR", "TestTruncate/Chinese", "Test_apiRun_paginationGraphQL", "TestRepoFork_outside_survey_yes"], "failed_tests": ["github.com/cli/cli/git", "github.com/cli/cli/internal/config"], "skipped_tests": []}