Debian Codegraph @

tests/legacy/responses/repos/fork_fixtrue.py

raw
1 """
2 Generated by generate/generate.py - 2020-08-02 10:38:59.444717
3 """
4 import pytest
5
6
7 @pytest.fixture()
8 def fork_fixtrue_response():
9 return {
10 "id": 1296269,
11 "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
12 "name": "Hello-World",
13 "full_name": "octocat/Hello-World",
14 "owner": {
15 "login": "octocat",
16 "id": 1,
17 "node_id": "MDQ6VXNlcjE=",
18 "avatar_url": "https://github.com/images/error/octocat_happy.gif",
19 "gravatar_id": "",
20 "url": "https://api.github.com/users/octocat",
21 "html_url": "https://github.com/octocat",
22 "followers_url": "https://api.github.com/users/octocat/followers",
23 "following_url": "https://api.github.com/users/octocat/following{/other_user}",
24 "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
25 "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
26 "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
27 "organizations_url": "https://api.github.com/users/octocat/orgs",
28 "repos_url": "https://api.github.com/users/octocat/repos",
29 "events_url": "https://api.github.com/users/octocat/events{/privacy}",
30 "received_events_url": "https://api.github.com/users/octocat/received_events",
31 "type": "User",
32 "site_admin": False,
33 },
34 "private": False,
35 "html_url": "https://github.com/octocat/Hello-World",
36 "description": "This your first repo!",
37 "fork": True,
38 "url": "https://api.github.com/repos/octocat/Hello-World",
39 "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
40 "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
41 "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
42 "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
43 "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
44 "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
45 "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
46 "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
47 "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
48 "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
49 "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
50 "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
51 "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
52 "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
53 "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
54 "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
55 "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
56 "git_url": "git:github.com/octocat/Hello-World.git",
57 "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
58 "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
59 "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
60 "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
61 "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
62 "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
63 "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
64 "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
65 "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
66 "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
67 "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
68 "ssh_url": "[email protected]:octocat/Hello-World.git",
69 "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
70 "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
71 "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
72 "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
73 "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
74 "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
75 "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
76 "clone_url": "https://github.com/octocat/Hello-World.git",
77 "mirror_url": "git:git.example.com/octocat/Hello-World",
78 "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
79 "svn_url": "https://svn.github.com/octocat/Hello-World",
80 "homepage": "https://github.com",
81 "language": None,
82 "forks_count": 9,
83 "stargazers_count": 80,
84 "watchers_count": 80,
85 "size": 108,
86 "default_branch": "main",
87 "open_issues_count": 0,
88 "is_template": True,
89 "topics": ["octocat", "atom", "electron", "api"],
90 "has_issues": True,
91 "has_projects": True,
92 "has_wiki": True,
93 "has_pages": False,
94 "has_downloads": True,
95 "archived": False,
96 "disabled": False,
97 "visibility": "public",
98 "pushed_at": "2011-01-26T19:06:43Z",
99 "created_at": "2011-01-26T19:01:12Z",
100 "updated_at": "2011-01-26T19:14:43Z",
101 "permissions": {"admin": False, "push": False, "pull": True},
102 "template_repository": None,
103 "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
104 "delete_branch_on_merge": True,
105 "subscribers_count": 42,
106 "network_count": 0,
107 "license": {
108 "key": "mit",
109 "name": "MIT License",
110 "spdx_id": "MIT",
111 "url": "https://api.github.com/licenses/mit",
112 "node_id": "MDc6TGljZW5zZW1pdA==",
113 },
114 }