(self)
| 39 | |
| 40 | class ExposeAllAttributes(Framework.TestCase): |
| 41 | def testAllClasses(self): |
| 42 | authenticatedUser = self.g.get_user() |
| 43 | namedUser = self.g.get_user("nvie") |
| 44 | repository = authenticatedUser.get_repo("PyGithub") |
| 45 | organization = self.g.get_organization("BeaverSoftware") |
| 46 | plan = authenticatedUser.plan |
| 47 | branch = repository.get_branch("master") |
| 48 | commit = repository.get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") |
| 49 | commitStats = commit.stats |
| 50 | commitStatus = commit.get_statuses()[0] |
| 51 | milestone = repository.get_milestone(17) |
| 52 | gist = self.g.get_gist("149016") |
| 53 | gistComment = gist.get_comment(4565) |
| 54 | gistFile = gist.files[".gitignore"] |
| 55 | gistHistoryState = gist.history[0] |
| 56 | gitCommit = repository.get_git_commit("be37b8a7f3a68631c32672dcd84d9eba27438ee6") |
| 57 | gitAuthor = gitCommit.author |
| 58 | gitTree = repository.get_git_tree("6f7c2d8c66d78863f7b91792deaead619799a1ce") |
| 59 | gitTreeElement = gitTree.tree[0] |
| 60 | gitBlob = repository.get_git_blob("681fb61f1761743a02f5c790f1c762cbfe8cfad1") |
| 61 | gitRef = repository.get_git_ref("tags/v1.17.0") |
| 62 | gitObject = gitRef.object |
| 63 | issue = repository.get_issue(188) |
| 64 | issueComment = issue.get_comment(22686536) |
| 65 | issueEvent = issue.get_events()[0] |
| 66 | issuePullRequest = issue.pull_request |
| 67 | gitignoreTemplate = self.g.get_gitignore_template("Python") |
| 68 | team = organization.get_team(141487) |
| 69 | label = repository.get_label("Bug") |
| 70 | pullRequest = repository.get_pull(31) |
| 71 | pullRequestComment = pullRequest.get_review_comment(1580134) |
| 72 | pullRequestPart = pullRequest.base |
| 73 | file = pullRequest.get_files()[0] |
| 74 | commitComment = repository.get_comment(3630301) |
| 75 | rateLimit = self.g.get_rate_limit() |
| 76 | hook = repository.get_hooks()[0] |
| 77 | hookResponse = hook.last_response |
| 78 | hookDescription = self.g.get_hooks()[0] |
| 79 | comparison = repository.compare("master", "develop") |
| 80 | contentFile = repository.get_contents("README.rst") |
| 81 | permissions = repository.permissions |
| 82 | event = repository.get_events()[0] |
| 83 | notification = authenticatedUser.get_notification("8406712") |
| 84 | notificationSubject = notification.subject |
| 85 | |
| 86 | missingAttributes = self.gatherMissingAttributes( |
| 87 | [ |
| 88 | authenticatedUser, |
| 89 | # authorization, # Security issue if put as-is in ReplayData |
| 90 | # authorizationApplication, # Security issue if put as-is in ReplayData |
| 91 | branch, |
| 92 | commit, |
| 93 | commitComment, |
| 94 | commitStats, |
| 95 | commitStatus, |
| 96 | comparison, |
| 97 | contentFile, |
| 98 | # download, # Deprecated: https://github.com/blog/1302-goodbye-uploads |
nothing calls this directly
no test coverage detected