Debian Codegraph @

tests/legacy/responses/issue_comments.py

raw
1 """Fixtures."""
2 # pylint: disable=missing-docstring
3 import pytest
4
5
6 @pytest.fixture()
7 def issue_comments_response():
8 return [
9 {
10 "id": 1,
11 "node_id": "MDEyOklzc3VlQ29tbWVudDE=",
12 "url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1",
13 "html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1",
14 "body": "Me too",
15 "user": {
16 "login": "octocat",
17 "id": 1,
18 "node_id": "MDQ6VXNlcjE=",
19 "avatar_url": "https://github.com/images/error/octocat_happy.gif",
20 "gravatar_id": "",
21 "url": "https://api.github.com/users/octocat",
22 "html_url": "https://github.com/octocat",
23 "followers_url": "https://api.github.com/users/octocat/followers",
24 "following_url": "https://api.github.com/users/octocat/following{/other_user}",
25 "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
26 "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
27 "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
28 "organizations_url": "https://api.github.com/users/octocat/orgs",
29 "repos_url": "https://api.github.com/users/octocat/repos",
30 "events_url": "https://api.github.com/users/octocat/events{/privacy}",
31 "received_events_url": "https://api.github.com/users/octocat/received_events",
32 "type": "User",
33 "site_admin": False,
34 },
35 "created_at": "2011-04-14T16:00:49Z",
36 "updated_at": "2011-04-14T16:00:49Z",
37 }
38 ]