Improvements to checking OAuth scopes
* Don't warn about needing `read:org` scope if the current token has `admin:org` scope. Fixes #1026

* Don't check required OAuth scopes if the response does not contain the `X-Oauth-Scopes` header at all, which silences the warning when gh is used in GitHub Actions with `secrets.GITHUB_TOKEN`. Ref. #1314
### Describe the bug

The title says it all.
gh version 0.9.0 (2020-05-26)

### Steps to reproduce the behavior

1. Create a personal access token with admin:org, admin:public_key, gist, and repo scopes.

2. On my local machine, run this command:

        gh config set -h github.com oauth_token MYTOKEN

3. Use the cli to clone a repo:

```
$ gh repo clone supabase/supabase

Warning: gh now requires the `read:org` OAuth scope.
Visit https://github.com/settings/tokens and edit your token to enable `read:org`
or generate a new token and paste it via `gh config set -h github.com oauth_token MYTOKEN`
```

gh warns me that it requires read:org OAuth scope
diff --git a/api/client.go b/api/client.go
index f307b2bf568..89f8e75a04b 100644
--- a/api/client.go
+++ b/api/client.go
@@ -89,23 +89,37 @@ func ReplaceTripper(tr http.RoundTripper) ClientOption {
 
 var issuedScopesWarning bool
 
+const (
+	httpOAuthAppID  = "X-Oauth-Client-Id"
+	httpOAuthScopes = "X-Oauth-Scopes"
+)
+
 // CheckScopes checks whether an OAuth scope is present in a response
 func CheckScopes(wantedScope string, cb func(string) error) ClientOption {
+	wantedCandidates := []string{wantedScope}
+	if strings.HasPrefix(wantedScope, "read:") {
+		wantedCandidates = append(wantedCandidates, "admin:"+strings.TrimPrefix(wantedScope, "read:"))
+	}
+
 	return func(tr http.RoundTripper) http.RoundTripper {
 		return &funcTripper{roundTrip: func(req *http.Request) (*http.Response, error) {
 			res, err := tr.RoundTrip(req)
-			if err != nil || res.StatusCode > 299 || issuedScopesWarning {
+			_, hasHeader := res.Header[httpOAuthAppID]
+			if err != nil || res.StatusCode > 299 || !hasHeader || issuedScopesWarning {
 				return res, err
 			}
 
-			appID := res.Header.Get("X-Oauth-Client-Id")
-			hasScopes := strings.Split(res.Header.Get("X-Oauth-Scopes"), ",")
+			appID := res.Header.Get(httpOAuthAppID)
+			hasScopes := strings.Split(res.Header.Get(httpOAuthScopes), ",")
 
 			hasWanted := false
+		outer:
 			for _, s := range hasScopes {
-				if wantedScope == strings.TrimSpace(s) {
-					hasWanted = true
-					break
+				for _, w := range wantedCandidates {
+					if w == strings.TrimSpace(s) {
+						hasWanted = true
+						break outer
+					}
 				}
 			}
 

diff --git a/api/client_test.go b/api/client_test.go
index b7c226c8ffd..7f692eee15e 100644
--- a/api/client_test.go
+++ b/api/client_test.go
@@ -4,6 +4,7 @@ import (
 	"bytes"
 	"errors"
 	"io/ioutil"
+	"net/http"
 	"reflect"
 	"testing"
 
@@ -91,5 +92,89 @@ func TestRESTError(t *testing.T) {
 	}
 	if httpErr.Error() != "HTTP 422: OH NO (https://api.github.com/repos/branch)" {
 		t.Errorf("got %q", httpErr.Error())
+
+	}
+}
+
+func Test_CheckScopes(t *testing.T) {
+	tests := []struct {
+		name           string
+		wantScope      string
+		responseApp    string
+		responseScopes string
+		expectCallback bool
+	}{
+		{
+			name:           "missing read:org",
+			wantScope:      "read:org",
+			responseApp:    "APPID",
+			responseScopes: "repo, gist",
+			expectCallback: true,
+		},
+		{
+			name:           "has read:org",
+			wantScope:      "read:org",
+			responseApp:    "APPID",
+			responseScopes: "repo, read:org, gist",
+			expectCallback: false,
+		},
+		{
+			name:           "has admin:org",
+			wantScope:      "read:org",
+			responseApp:    "APPID",
+			responseScopes: "repo, admin:org, gist",
+			expectCallback: false,
+		},
+		{
+			name:           "no scopes in response",
+			wantScope:      "read:org",
+			responseApp:    "",
+			responseScopes: "",
+			expectCallback: false,
+		},
+	}
+	for _, tt := range tests {
+		t.Run(tt.name, func(t *testing.T) {
+			tr := &httpmock.Registry{}
+			tr.Register(httpmock.MatchAny, func(*http.Request) (*http.Response, error) {
+				if tt.responseScopes == "" {
+					return &http.Response{StatusCode: 200}, nil
+				}
+				return &http.Response{
+					StatusCode: 200,
+					Header: http.Header{
+						"X-Oauth-Client-Id": []string{tt.responseApp},
+						"X-Oauth-Scopes":    []string{tt.responseScopes},
+					},
+				}, nil
+			})
+
+			callbackInvoked := false
+			var gotAppID string
+			fn := CheckScopes(tt.wantScope, func(appID string) error {
+				callbackInvoked = true
+				gotAppID = appID
+				return nil
+			})
+
+			rt := fn(tr)
+			req, err := http.NewRequest("GET", "https://api.github.com/hello", nil)
+			if err != nil {
+				t.Fatalf("unexpected error: %v", err)
+			}
+
+			issuedScopesWarning = false
+			_, err = rt.RoundTrip(req)
+			if err != nil {
+				t.Fatalf("unexpected error: %v", err)
+			}
+
+			if tt.expectCallback != callbackInvoked {
+				t.Fatalf("expected CheckScopes callback: %v", tt.expectCallback)
+			}
+			if tt.expectCallback && gotAppID != tt.responseApp {
+				t.Errorf("unexpected app ID: %q", gotAppID)
+			}
+		})
 	}
 }

{"Test_CheckScopes": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "Test_CheckScopes/no_scopes_in_response": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "Test_CheckScopes/has_admin:org": {"run": "NONE", "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"}, "TestPRView_web_currentBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/unsupported_hostname": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/clone_arguments_with_directory": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoFork_outside_survey_no": {"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"}, "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_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"}, "TestCompletion_zsh": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueClose": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStateTitleWithColor/Closed_state": {"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"}, "Test_CheckScopes/missing_read:org": {"run": "NONE", "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"}, "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_apiRun": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_Preview": {"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"}, "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"}, "TestConfigSet_update": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/with_pagination": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoFork_outside/full_name_arg": {"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"}, "TestRepoFork_already_forked": {"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_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"}, "TestIssueList_withInvalidLimitFlag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_fillPlaceholders": {"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"}, "TestPRReview_blank_comment": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExpandAlias": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFuzzyAgo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/shorthand": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_httpRequest/POST_with_params": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_Preview/Open_PR_for_the_current_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Korean": {"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"}, "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"}, "Test_NewCmdApi/with_request_body_from_file": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_listHeader/no_matches_after_filters": {"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"}, "TestParseExtraArgs/args_and_target": {"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"}, "TestExtractName/Complete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_nonmarkdown_readme": {"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"}, "TestPRReady_alreadyReady": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findNextPage/no_Link_header": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_magicFieldValue/null": {"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"}, "TestPRCreate_survey_defaults_monocommit": {"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"}, "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"}, "TestRepoFork_outside": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/macOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_currentBranch_showTheMostRecentPR": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoFork_in_parent_survey_no": {"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"}, "TestPRStatus_currentBranch_Merged": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus_blankSlate": {"run": "PASS", "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"}, "TestExtractName/Incomplete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPullRequest_ChecksStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoFork_in_parent_yes": {"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"}, "TestIssueView_Preview/Closed_issue": {"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"}, "TestAliasDelete": {"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"}, "TestIssueReopen_alreadyOpen": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_NewCmdApi/with_headers": {"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"}, "TestIssueView_Preview/Open_issue_without_metadata": {"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"}, "TestRepoFork_outside_yes": {"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"}, "TestPRReview_interactive": {"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"}, "TestRepoFork_outside/url_arg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_Preview/Open_issue_with_metadata": {"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"}, "TestPRList_filteringAssigneeLabels": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_findEndCursor/no_next_page": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_withFlags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoFork_reuseRemote": {"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_listHeader/one_result_in_total": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_web": {"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"}, "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"}, "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"}, "TestConfigGet_not_found": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoClone/clone_arguments": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRESTError": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_apiRun_inputFile/from_file": {"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"}, "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"}, "TestPRView_web_noResultsForBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Chinese_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_CheckScopes/has_read:org": {"run": "NONE", "test": "PASS", "fix": "PASS"}, "TestParseExtraArgs/only_args": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoFork_in_parent_survey_yes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRReview_no_arg": {"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"}, "TestPRStatus_currentBranch_Closed": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestParseExtraArgs/no_args": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_Preview/Open_issue_with_empty_body": {"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"}, "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"}, "TestRepo_withoutUsername": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestWrite/string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoFork_in_parent": {"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"}, "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"}, "TestRepoFork_outside_survey_yes": {"run": "PASS", "test": "PASS", "fix": "PASS"}}
{"Test_CheckScopes": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "Test_CheckScopes/no_scopes_in_response": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "Test_CheckScopes/has_admin:org": {"run": "NONE", "test": "FAIL", "fix": "PASS"}}
{"passed_count": 354, "failed_count": 2, "skipped_count": 0, "passed_tests": ["TestIssueCreate_webTitleBody", "TestPRCreate_defaults_error_autofill", "TestConfigSet", "TestPrStateTitleWithColor/Format_MERGED_state", "Test_repoFromURL/unsupported_hostname", "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", "Test_httpRequest/simple_GET", "Test_RepoMetadata", "Test_magicFieldValue", "TestCompletion_bash", "TestRepoCreate_org", "Test_apiRun_paginationREST", "Test_apiRun/failure", "TestPRView_Preview", "TestForOS", "TestIssueClose", "TestIssueStateTitleWithColor/Closed_state", "Test_repoFromURL/filesystem_path", "TestPrClose", "TestIssueStatus", "TestPRView_Preview/Open_PR_with_metadata_by_branch", "TestPRCheckout_urlArg_differentBase", "TestConfigGetHost", "TestPRCheckout_sameRepo", "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", "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_openUserFile", "TestIssueStatus_disabledIssues", "TestIssueList_withInvalidLimitFlag", "Test_fillPlaceholders", "TestGraphQLError", "Test_findNextPage/no_next_page_in_Link", "Test_listHeader/one_result_in_total_after_filters", "TestPRReview_blank_comment", "TestExpandAlias", "TestFuzzyAgo", "TestRepoClone/shorthand", "Test_httpRequest/POST_with_params", "TestPRView_Preview/Open_PR_for_the_current_branch", "TestPRStatus_currentBranch_defaultBranch", "Test_groupGraphQLVariables/variables_only", "TestPRList", "TestPRView_Preview/Merged_PR", "Test_RepoResolveMetadataIDs", "Test_NewCmdApi/with_request_body_from_file", "Test_listHeader/no_matches_after_filters", "Test_groupGraphQLVariables/query_+_variables", "Test_apiRun/show_response_headers", "TestPRCreate_defaults_error_web", "TestRepoView_nonmarkdown_readme", "TestIssueClose_alreadyClosed", "Test_httpRequest/GET_with_params", "TestPRReady_alreadyReady", "Test_findNextPage/no_Link_header", "Test_magicFieldValue/null", "TestFindLegacy", "TestPRCreate", "Test_apiRun/silent", "TestParseExtraArgs/only_target", "TestAliasSet_empty_aliases", "Test_groupGraphQLVariables/query_only", "Test_printError", "Test_listHeader/one_result", "TestForOS/macOS", "TestAliasSet_gh_command", "TestIssueView_web_notFound", "TestPRCreate_cross_repo_same_branch", "Test_NewCmdApi/POST_pagination", "TestPRStatus_currentBranch_Merged", "TestIssueStatus_blankSlate", "TestPRView_Preview/Closed_PR", "TestCompletion_fish", "TestAliasSet_init_alias_cfg", "Test_resolvedRemotes_triangularSetup", "TestFindNonLegacy", "TestPRStatus_detachedHead", "TestIssueView_Preview/Closed_issue", "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", "TestIssueView_web", "Test_addQuery/nil", "TestConfigSetHost", "TestPRReady_closed", "TestAliasSet_existing_aliases", "TestRepoFork_outside/url_arg", "TestIssueView_Preview/Open_issue_with_metadata", "TestPRCreate_alreadyExistsDifferentBase", "TestAliasSet_arg_processing", "TestPRList_filteringAssigneeLabels", "Test_findEndCursor/no_next_page", "TestPRView_Preview/Draft_PR_by_branch", "TestPRList_withInvalidLimitFlag", "Test_determineTrackingBranch_hasMatch", "Test_resolvedRemotes_forkLookup", "TestPRView_Preview/Open_PR_without_metadata", "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", "TestConfigGet_not_found", "TestRepoClone/clone_arguments", "TestRESTError", "Test_apiRun_inputFile/from_file", "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", "TestRepoFork_in_parent_survey_yes", "Test_NewCmdApi/with_fields", "TestRemoteURLFormatting_no_config", "TestPRStatus_currentBranch_Closed", "TestIssueCreate_web", "TestPRView_web_branchArg", "TestIssueReopen_issuesDisabled", "TestPRReview_bad_body", "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", "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", "TestCompletion_zsh", "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR", "TestRepoCreate", "TestExtractContents", "TestPRList_filteringClosed", "Test_httpRequest/POST_with_body_and_type", "TestPRReview_interactive_blank_approve", "TestRepoCreate_orgWithTeam", "Test_apiRun", "TestIssueView_Preview", "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", "TestFindNonLegacy/Legacy_templates_ignored", "TestPRCreate_alreadyExists", "TestCheckForUpdate/current_is_prerelease", "Test_apiRun/success_204", "Test_repoFromURL/github.com_URL", "Test_apiRun/REST_error", "TestTruncate/Korean_filled", "TestPRStatus_currentBranch_Closed_defaultBranch", "TestTruncate/Korean", "TestRepoView", "TestPRReview_url_arg", "TestConfigGetHost_unset", "Test_listHeader/no_results", "Test_addQuery/string", "Test_NewCmdApi/input_pagination", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestParseExtraArgs/args_and_target", "TestPRCheckout_urlArg", "TestExtractName/Complete_front-matter", "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", "TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestRepoFork_in_parent_yes", "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", "TestAliasDelete", "TestParseExtraArgs", "TestExtractName/No_front-matter", "TestIssueView_web_numberArgWithHash", "TestFindLegacy/Template_in_.github_takes_precedence", "Test_determineTrackingBranch_empty", "TestPRCreate_defaults_error_interactive", "Test_NewCmdApi/GraphQL_pagination", "TestFindNonLegacy/Empty_template_directories", "TestIssueView_Preview/Open_issue_without_metadata", "TestRepoView_web_ownerRepo", "TestPRReopen", "TestRepoFork_outside_yes", "Test_ttyTablePrinter_truncate", "TestPrMerge_withRepoFlag", "Test_printError/DNS_error", "TestPRReview_interactive", "TestPrClose_alreadyClosed", "Test_printError/generic_error", "Test_fillPlaceholders/has_substitutes", "TestIssueList_disabledIssues", "TestIssueList_withFlags", "TestRepoFork_reuseRemote", "Test_NewCmdApi/with_silenced_output", "Test_magicFieldValue/bool_true", "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch", "Test_listHeader/one_result_in_total", "TestRepoView_web", "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", "Test_findEndCursor/blank", "TestPrMerge_noPrNumberGiven", "TestPrStateTitleWithColor/Format_OPEN_state", "TestIssueCreate", "TestFindLegacy/Non_legacy_templates_ignored", "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", "TestTruncate/Chinese_filled", "TestParseExtraArgs/only_args", "TestPRReview_no_arg", "TestPRReopen_alreadyOpen", "TestRepoView_blanks", "Test_translateRemotes", "TestAliasSet_space_args", "TestParseExtraArgs/no_args", "TestIssueView_Preview/Open_issue_with_empty_body", "TestWrite/empty_object", "TestPrMerge_squash", "TestPRDiff_argument_not_found", "TestIssueList", "TestPRCheckout_maintainerCanModify", "Test_printError/unknown_Cobra_command_error", "TestWrite/string", "TestRepoFork_in_parent", "TestPRReview_interactive_no_body", "Test_findEndCursor/has_next_page", "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": 356, "failed_count": 6, "skipped_count": 0, "passed_tests": ["TestIssueCreate_webTitleBody", "TestPRCreate_defaults_error_autofill", "TestConfigSet", "TestPrStateTitleWithColor/Format_MERGED_state", "Test_repoFromURL/unsupported_hostname", "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", "Test_httpRequest/simple_GET", "Test_RepoMetadata", "Test_magicFieldValue", "TestCompletion_bash", "TestRepoCreate_org", "Test_apiRun_paginationREST", "Test_apiRun/failure", "TestPRView_Preview", "TestForOS", "TestIssueClose", "TestIssueStateTitleWithColor/Closed_state", "Test_repoFromURL/filesystem_path", "TestPrClose", "TestIssueStatus", "TestPRView_Preview/Open_PR_with_metadata_by_branch", "TestPRCheckout_urlArg_differentBase", "TestConfigGetHost", "TestPRCheckout_sameRepo", "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", "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_openUserFile", "TestIssueStatus_disabledIssues", "TestIssueList_withInvalidLimitFlag", "Test_fillPlaceholders", "TestGraphQLError", "Test_findNextPage/no_next_page_in_Link", "Test_listHeader/one_result_in_total_after_filters", "TestPRReview_blank_comment", "TestExpandAlias", "TestFuzzyAgo", "TestRepoClone/shorthand", "Test_httpRequest/POST_with_params", "TestPRView_Preview/Open_PR_for_the_current_branch", "TestPRStatus_currentBranch_defaultBranch", "Test_groupGraphQLVariables/variables_only", "TestPRList", "TestPRView_Preview/Merged_PR", "Test_RepoResolveMetadataIDs", "Test_NewCmdApi/with_request_body_from_file", "Test_listHeader/no_matches_after_filters", "Test_groupGraphQLVariables/query_+_variables", "Test_apiRun/show_response_headers", "TestPRCreate_defaults_error_web", "TestRepoView_nonmarkdown_readme", "TestIssueClose_alreadyClosed", "Test_httpRequest/GET_with_params", "TestPRReady_alreadyReady", "Test_findNextPage/no_Link_header", "Test_magicFieldValue/null", "TestFindLegacy", "TestPRCreate", "Test_apiRun/silent", "TestParseExtraArgs/only_target", "TestAliasSet_empty_aliases", "Test_groupGraphQLVariables/query_only", "Test_printError", "Test_listHeader/one_result", "TestForOS/macOS", "TestAliasSet_gh_command", "TestIssueView_web_notFound", "TestPRCreate_cross_repo_same_branch", "Test_NewCmdApi/POST_pagination", "TestPRStatus_currentBranch_Merged", "TestIssueStatus_blankSlate", "TestPRView_Preview/Closed_PR", "TestCompletion_fish", "TestAliasSet_init_alias_cfg", "Test_resolvedRemotes_triangularSetup", "TestFindNonLegacy", "TestPRStatus_detachedHead", "TestIssueView_Preview/Closed_issue", "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", "TestIssueView_web", "Test_addQuery/nil", "TestConfigSetHost", "TestPRReady_closed", "TestAliasSet_existing_aliases", "TestRepoFork_outside/url_arg", "TestIssueView_Preview/Open_issue_with_metadata", "TestPRCreate_alreadyExistsDifferentBase", "TestAliasSet_arg_processing", "TestPRList_filteringAssigneeLabels", "Test_findEndCursor/no_next_page", "TestPRView_Preview/Draft_PR_by_branch", "TestPRList_withInvalidLimitFlag", "Test_determineTrackingBranch_hasMatch", "Test_resolvedRemotes_forkLookup", "TestPRView_Preview/Open_PR_without_metadata", "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", "TestConfigGet_not_found", "TestRepoClone/clone_arguments", "TestRESTError", "Test_apiRun_inputFile/from_file", "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", "TestRepoFork_in_parent_survey_yes", "Test_NewCmdApi/with_fields", "TestRemoteURLFormatting_no_config", "TestPRStatus_currentBranch_Closed", "TestIssueCreate_web", "TestPRView_web_branchArg", "TestIssueReopen_issuesDisabled", "TestPRReview_bad_body", "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", "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", "TestCompletion_zsh", "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR", "TestRepoCreate", "TestExtractContents", "TestPRList_filteringClosed", "Test_httpRequest/POST_with_body_and_type", "TestPRReview_interactive_blank_approve", "TestRepoCreate_orgWithTeam", "Test_apiRun", "TestIssueView_Preview", "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", "TestFindNonLegacy/Legacy_templates_ignored", "TestPRCreate_alreadyExists", "TestCheckForUpdate/current_is_prerelease", "Test_apiRun/success_204", "Test_repoFromURL/github.com_URL", "Test_apiRun/REST_error", "TestTruncate/Korean_filled", "TestPRStatus_currentBranch_Closed_defaultBranch", "TestTruncate/Korean", "TestRepoView", "TestPRReview_url_arg", "TestConfigGetHost_unset", "Test_listHeader/no_results", "Test_addQuery/string", "Test_NewCmdApi/input_pagination", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestParseExtraArgs/args_and_target", "TestPRCheckout_urlArg", "TestExtractName/Complete_front-matter", "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", "TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestRepoFork_in_parent_yes", "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", "TestAliasDelete", "TestParseExtraArgs", "TestExtractName/No_front-matter", "TestIssueView_web_numberArgWithHash", "TestFindLegacy/Template_in_.github_takes_precedence", "Test_determineTrackingBranch_empty", "TestPRCreate_defaults_error_interactive", "Test_NewCmdApi/GraphQL_pagination", "TestFindNonLegacy/Empty_template_directories", "TestIssueView_Preview/Open_issue_without_metadata", "TestRepoView_web_ownerRepo", "TestPRReopen", "TestRepoFork_outside_yes", "Test_ttyTablePrinter_truncate", "TestPrMerge_withRepoFlag", "Test_printError/DNS_error", "TestPRReview_interactive", "TestPrClose_alreadyClosed", "Test_printError/generic_error", "Test_fillPlaceholders/has_substitutes", "TestIssueList_disabledIssues", "TestIssueList_withFlags", "TestRepoFork_reuseRemote", "Test_NewCmdApi/with_silenced_output", "Test_magicFieldValue/bool_true", "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch", "Test_listHeader/one_result_in_total", "TestRepoView_web", "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", "Test_findEndCursor/blank", "TestPrMerge_noPrNumberGiven", "TestPrStateTitleWithColor/Format_OPEN_state", "TestIssueCreate", "TestFindLegacy/Non_legacy_templates_ignored", "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", "TestParseExtraArgs/only_args", "TestPRReview_no_arg", "TestPRReopen_alreadyOpen", "TestRepoView_blanks", "Test_translateRemotes", "TestAliasSet_space_args", "TestParseExtraArgs/no_args", "TestIssueView_Preview/Open_issue_with_empty_body", "TestWrite/empty_object", "TestPrMerge_squash", "TestPRDiff_argument_not_found", "TestIssueList", "TestPRCheckout_maintainerCanModify", "Test_printError/unknown_Cobra_command_error", "TestWrite/string", "TestRepoFork_in_parent", "TestPRReview_interactive_no_body", "Test_findEndCursor/has_next_page", "TestTruncate/Chinese", "Test_apiRun_paginationGraphQL", "TestRepoFork_outside_survey_yes"], "failed_tests": ["Test_CheckScopes/has_admin:org", "Test_CheckScopes", "github.com/cli/cli/git", "github.com/cli/cli/internal/config", "github.com/cli/cli/api", "Test_CheckScopes/no_scopes_in_response"], "skipped_tests": []}
{"passed_count": 359, "failed_count": 2, "skipped_count": 0, "passed_tests": ["TestIssueCreate_webTitleBody", "TestPRCreate_defaults_error_autofill", "TestConfigSet", "TestPrStateTitleWithColor/Format_MERGED_state", "Test_repoFromURL/unsupported_hostname", "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", "Test_httpRequest/simple_GET", "Test_RepoMetadata", "Test_magicFieldValue", "TestCompletion_bash", "TestRepoCreate_org", "Test_apiRun_paginationREST", "Test_apiRun/failure", "TestPRView_Preview", "TestForOS", "TestIssueClose", "TestIssueStateTitleWithColor/Closed_state", "Test_repoFromURL/filesystem_path", "TestPrClose", "TestIssueStatus", "TestPRView_Preview/Open_PR_with_metadata_by_branch", "TestPRCheckout_urlArg_differentBase", "TestConfigGetHost", "TestPRCheckout_sameRepo", "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", "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", "TestIssueList_withInvalidLimitFlag", "Test_fillPlaceholders", "TestGraphQLError", "Test_findNextPage/no_next_page_in_Link", "Test_listHeader/one_result_in_total_after_filters", "TestPRReview_blank_comment", "TestExpandAlias", "TestFuzzyAgo", "TestRepoClone/shorthand", "Test_httpRequest/POST_with_params", "TestPRView_Preview/Open_PR_for_the_current_branch", "TestPRStatus_currentBranch_defaultBranch", "Test_groupGraphQLVariables/variables_only", "TestPRList", "TestPRView_Preview/Merged_PR", "Test_RepoResolveMetadataIDs", "Test_NewCmdApi/with_request_body_from_file", "Test_listHeader/no_matches_after_filters", "Test_groupGraphQLVariables/query_+_variables", "Test_apiRun/show_response_headers", "TestPRCreate_defaults_error_web", "TestRepoView_nonmarkdown_readme", "TestIssueClose_alreadyClosed", "Test_httpRequest/GET_with_params", "TestPRReady_alreadyReady", "Test_findNextPage/no_Link_header", "Test_magicFieldValue/null", "TestFindLegacy", "TestPRCreate", "Test_apiRun/silent", "TestParseExtraArgs/only_target", "TestAliasSet_empty_aliases", "Test_groupGraphQLVariables/query_only", "Test_printError", "Test_listHeader/one_result", "TestForOS/macOS", "TestAliasSet_gh_command", "TestIssueView_web_notFound", "TestPRCreate_cross_repo_same_branch", "Test_NewCmdApi/POST_pagination", "TestPRStatus_currentBranch_Merged", "TestIssueStatus_blankSlate", "TestPRView_Preview/Closed_PR", "TestCompletion_fish", "TestAliasSet_init_alias_cfg", "Test_resolvedRemotes_triangularSetup", "TestFindNonLegacy", "TestPRStatus_detachedHead", "TestIssueView_Preview/Closed_issue", "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", "TestIssueView_web", "Test_addQuery/nil", "TestConfigSetHost", "TestPRReady_closed", "TestAliasSet_existing_aliases", "TestRepoFork_outside/url_arg", "TestIssueView_Preview/Open_issue_with_metadata", "TestPRCreate_alreadyExistsDifferentBase", "TestAliasSet_arg_processing", "TestPRList_filteringAssigneeLabels", "Test_findEndCursor/no_next_page", "TestPRView_Preview/Draft_PR_by_branch", "TestPRList_withInvalidLimitFlag", "Test_determineTrackingBranch_hasMatch", "Test_resolvedRemotes_forkLookup", "TestPRView_Preview/Open_PR_without_metadata", "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", "TestConfigGet_not_found", "TestRepoClone/clone_arguments", "TestRESTError", "Test_apiRun_inputFile/from_file", "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", "TestRepoFork_in_parent_survey_yes", "Test_NewCmdApi/with_fields", "TestRemoteURLFormatting_no_config", "TestPRStatus_currentBranch_Closed", "TestIssueCreate_web", "TestPRView_web_branchArg", "TestIssueReopen_issuesDisabled", "TestPRReview_bad_body", "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", "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", "TestCompletion_zsh", "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR", "TestRepoCreate", "TestExtractContents", "TestPRList_filteringClosed", "Test_httpRequest/POST_with_body_and_type", "TestPRReview_interactive_blank_approve", "TestRepoCreate_orgWithTeam", "Test_apiRun", "TestIssueView_Preview", "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_CheckScopes", "TestFindNonLegacy/Legacy_templates_ignored", "TestPRCreate_alreadyExists", "TestCheckForUpdate/current_is_prerelease", "Test_apiRun/success_204", "Test_repoFromURL/github.com_URL", "Test_apiRun/REST_error", "TestTruncate/Korean_filled", "TestPRStatus_currentBranch_Closed_defaultBranch", "TestTruncate/Korean", "TestRepoView", "TestPRReview_url_arg", "TestConfigGetHost_unset", "Test_listHeader/no_results", "Test_addQuery/string", "Test_NewCmdApi/input_pagination", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestParseExtraArgs/args_and_target", "TestPRCheckout_urlArg", "TestExtractName/Complete_front-matter", "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", "TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestRepoFork_in_parent_yes", "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", "TestAliasDelete", "TestParseExtraArgs", "TestExtractName/No_front-matter", "TestIssueView_web_numberArgWithHash", "TestFindLegacy/Template_in_.github_takes_precedence", "Test_determineTrackingBranch_empty", "TestPRCreate_defaults_error_interactive", "Test_NewCmdApi/GraphQL_pagination", "TestFindNonLegacy/Empty_template_directories", "TestIssueView_Preview/Open_issue_without_metadata", "TestRepoView_web_ownerRepo", "TestPRReopen", "TestRepoFork_outside_yes", "Test_ttyTablePrinter_truncate", "TestPrMerge_withRepoFlag", "Test_printError/DNS_error", "TestPRReview_interactive", "TestPrClose_alreadyClosed", "Test_printError/generic_error", "Test_fillPlaceholders/has_substitutes", "TestIssueList_disabledIssues", "TestIssueList_withFlags", "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", "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", "Test_findEndCursor/blank", "TestPrMerge_noPrNumberGiven", "TestPrStateTitleWithColor/Format_OPEN_state", "TestIssueCreate", "TestFindLegacy/Non_legacy_templates_ignored", "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", "TestParseExtraArgs/only_args", "TestPRReview_no_arg", "TestPRReopen_alreadyOpen", "TestRepoView_blanks", "Test_translateRemotes", "TestAliasSet_space_args", "TestParseExtraArgs/no_args", "TestIssueView_Preview/Open_issue_with_empty_body", "TestWrite/empty_object", "TestPrMerge_squash", "TestPRDiff_argument_not_found", "TestIssueList", "TestPRCheckout_maintainerCanModify", "Test_printError/unknown_Cobra_command_error", "TestWrite/string", "TestRepoFork_in_parent", "TestPRReview_interactive_no_body", "Test_findEndCursor/has_next_page", "TestTruncate/Chinese", "Test_apiRun_paginationGraphQL", "TestRepoFork_outside_survey_yes"], "failed_tests": ["github.com/cli/cli/git", "github.com/cli/cli/internal/config"], "skipped_tests": []}