Skip to content

Commit

Permalink
Reformat test files as pretty-print json #116
Browse files Browse the repository at this point in the history
Reference: #116
Signed-off-by: John M. Horan <[email protected]>
  • Loading branch information
johnmhoran committed Jun 19, 2024
1 parent 3b01c28 commit 536f5ed
Show file tree
Hide file tree
Showing 14 changed files with 52,333 additions and 281 deletions.
219 changes: 218 additions & 1 deletion tests/data/bitbucket.json
Original file line number Diff line number Diff line change
@@ -1 +1,218 @@
{"0": {"type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", "version": null, "qualifiers": {}, "subpath": null, "primary_language": null, "description": null, "release_date": null, "parties": [], "keywords": [], "homepage_url": null, "download_url": null, "api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit", "size": null, "sha1": null, "md5": null, "sha256": null, "sha512": null, "bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues", "code_view_url": "https://bitbucket.org/litmis/python-itoolkit", "vcs_url": null, "copyright": null, "license_expression": null, "declared_license": null, "notice_text": null, "root_path": null, "dependencies": [], "contains_source_code": null, "source_packages": [], "purl": "pkg:bitbucket/litmis/python-itoolkit", "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null}, "1": {"type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", "version": "1.2", "qualifiers": {}, "subpath": null, "primary_language": null, "description": null, "release_date": null, "parties": [], "keywords": [], "homepage_url": null, "download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.2.tar.gz", "api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit", "size": null, "sha1": null, "md5": null, "sha256": null, "sha512": null, "bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues", "code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.2", "vcs_url": null, "copyright": null, "license_expression": null, "declared_license": null, "notice_text": null, "root_path": null, "dependencies": [], "contains_source_code": null, "source_packages": [], "purl": "pkg:bitbucket/litmis/[email protected]", "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null}, "2": {"type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", "version": "1.3", "qualifiers": {}, "subpath": null, "primary_language": null, "description": null, "release_date": null, "parties": [], "keywords": [], "homepage_url": null, "download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.3.tar.gz", "api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit", "size": null, "sha1": null, "md5": null, "sha256": null, "sha512": null, "bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues", "code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.3", "vcs_url": null, "copyright": null, "license_expression": null, "declared_license": null, "notice_text": null, "root_path": null, "dependencies": [], "contains_source_code": null, "source_packages": [], "purl": "pkg:bitbucket/litmis/[email protected]", "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null}, "3": {"type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", "version": "1.4.0", "qualifiers": {}, "subpath": null, "primary_language": null, "description": null, "release_date": null, "parties": [], "keywords": [], "homepage_url": null, "download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.4.0.tar.gz", "api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit", "size": null, "sha1": null, "md5": null, "sha256": null, "sha512": null, "bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues", "code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.4.0", "vcs_url": null, "copyright": null, "license_expression": null, "declared_license": null, "notice_text": null, "root_path": null, "dependencies": [], "contains_source_code": null, "source_packages": [], "purl": "pkg:bitbucket/litmis/[email protected]", "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null}, "4": {"type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", "version": "1.5.0", "qualifiers": {}, "subpath": null, "primary_language": null, "description": null, "release_date": null, "parties": [], "keywords": [], "homepage_url": null, "download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.5.0.tar.gz", "api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit", "size": null, "sha1": null, "md5": null, "sha256": null, "sha512": null, "bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues", "code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.5.0", "vcs_url": null, "copyright": null, "license_expression": null, "declared_license": null, "notice_text": null, "root_path": null, "dependencies": [], "contains_source_code": null, "source_packages": [], "purl": "pkg:bitbucket/litmis/[email protected]", "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null}, "5": {"type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", "version": "1.5.1", "qualifiers": {}, "subpath": null, "primary_language": null, "description": null, "release_date": null, "parties": [], "keywords": [], "homepage_url": null, "download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.5.1.tar.gz", "api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit", "size": null, "sha1": null, "md5": null, "sha256": null, "sha512": null, "bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues", "code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.5.1", "vcs_url": null, "copyright": null, "license_expression": null, "declared_license": null, "notice_text": null, "root_path": null, "dependencies": [], "contains_source_code": null, "source_packages": [], "purl": "pkg:bitbucket/litmis/[email protected]", "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null}}
{
"0": {
"type": "bitbucket",
"namespace": "litmis",
"name": "python-itoolkit",
"version": null,
"qualifiers": {},
"subpath": null,
"primary_language": null,
"description": null,
"release_date": null,
"parties": [],
"keywords": [],
"homepage_url": null,
"download_url": null,
"api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit",
"size": null,
"sha1": null,
"md5": null,
"sha256": null,
"sha512": null,
"bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues",
"code_view_url": "https://bitbucket.org/litmis/python-itoolkit",
"vcs_url": null,
"copyright": null,
"license_expression": null,
"declared_license": null,
"notice_text": null,
"root_path": null,
"dependencies": [],
"contains_source_code": null,
"source_packages": [],
"purl": "pkg:bitbucket/litmis/python-itoolkit",
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": null
},
"1": {
"type": "bitbucket",
"namespace": "litmis",
"name": "python-itoolkit",
"version": "1.2",
"qualifiers": {},
"subpath": null,
"primary_language": null,
"description": null,
"release_date": null,
"parties": [],
"keywords": [],
"homepage_url": null,
"download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.2.tar.gz",
"api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit",
"size": null,
"sha1": null,
"md5": null,
"sha256": null,
"sha512": null,
"bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues",
"code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.2",
"vcs_url": null,
"copyright": null,
"license_expression": null,
"declared_license": null,
"notice_text": null,
"root_path": null,
"dependencies": [],
"contains_source_code": null,
"source_packages": [],
"purl": "pkg:bitbucket/litmis/[email protected]",
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": null
},
"2": {
"type": "bitbucket",
"namespace": "litmis",
"name": "python-itoolkit",
"version": "1.3",
"qualifiers": {},
"subpath": null,
"primary_language": null,
"description": null,
"release_date": null,
"parties": [],
"keywords": [],
"homepage_url": null,
"download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.3.tar.gz",
"api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit",
"size": null,
"sha1": null,
"md5": null,
"sha256": null,
"sha512": null,
"bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues",
"code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.3",
"vcs_url": null,
"copyright": null,
"license_expression": null,
"declared_license": null,
"notice_text": null,
"root_path": null,
"dependencies": [],
"contains_source_code": null,
"source_packages": [],
"purl": "pkg:bitbucket/litmis/[email protected]",
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": null
},
"3": {
"type": "bitbucket",
"namespace": "litmis",
"name": "python-itoolkit",
"version": "1.4.0",
"qualifiers": {},
"subpath": null,
"primary_language": null,
"description": null,
"release_date": null,
"parties": [],
"keywords": [],
"homepage_url": null,
"download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.4.0.tar.gz",
"api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit",
"size": null,
"sha1": null,
"md5": null,
"sha256": null,
"sha512": null,
"bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues",
"code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.4.0",
"vcs_url": null,
"copyright": null,
"license_expression": null,
"declared_license": null,
"notice_text": null,
"root_path": null,
"dependencies": [],
"contains_source_code": null,
"source_packages": [],
"purl": "pkg:bitbucket/litmis/[email protected]",
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": null
},
"4": {
"type": "bitbucket",
"namespace": "litmis",
"name": "python-itoolkit",
"version": "1.5.0",
"qualifiers": {},
"subpath": null,
"primary_language": null,
"description": null,
"release_date": null,
"parties": [],
"keywords": [],
"homepage_url": null,
"download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.5.0.tar.gz",
"api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit",
"size": null,
"sha1": null,
"md5": null,
"sha256": null,
"sha512": null,
"bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues",
"code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.5.0",
"vcs_url": null,
"copyright": null,
"license_expression": null,
"declared_license": null,
"notice_text": null,
"root_path": null,
"dependencies": [],
"contains_source_code": null,
"source_packages": [],
"purl": "pkg:bitbucket/litmis/[email protected]",
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": null
},
"5": {
"type": "bitbucket",
"namespace": "litmis",
"name": "python-itoolkit",
"version": "1.5.1",
"qualifiers": {},
"subpath": null,
"primary_language": null,
"description": null,
"release_date": null,
"parties": [],
"keywords": [],
"homepage_url": null,
"download_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads/python-itoolkit-1.5.1.tar.gz",
"api_url": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit",
"size": null,
"sha1": null,
"md5": null,
"sha256": null,
"sha512": null,
"bug_tracking_url": "https://bitbucket.org/litmis/python-itoolkit/issues",
"code_view_url": "https://bitbucket.org/litmis/python-itoolkit/src/1.5.1",
"vcs_url": null,
"copyright": null,
"license_expression": null,
"declared_license": null,
"notice_text": null,
"root_path": null,
"dependencies": [],
"contains_source_code": null,
"source_packages": [],
"purl": "pkg:bitbucket/litmis/[email protected]",
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": null
}
}
125 changes: 124 additions & 1 deletion tests/data/bitbucket_mock_data.json
Original file line number Diff line number Diff line change
@@ -1 +1,124 @@
{"scm": "git", "website": "", "has_wiki": true, "uuid": "{6bbee65f-ec4c-4c13-950e-d5715a2ad85b}", "links": {"watchers": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/watchers"}, "branches": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/refs/branches"}, "tags": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/refs/tags"}, "commits": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/commits"}, "clone": [{"href": "https://bitbucket.org/litmis/python-itoolkit.git", "name": "https"}, {"href": "[email protected]:litmis/python-itoolkit.git", "name": "ssh"}], "self": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit"}, "source": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/src"}, "html": {"href": "https://bitbucket.org/litmis/python-itoolkit"}, "avatar": {"href": "https://bytebucket.org/ravatar/%7B6bbee65f-ec4c-4c13-950e-d5715a2ad85b%7D?ts=python"}, "hooks": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/hooks"}, "forks": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/forks"}, "downloads": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads"}, "issues": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/issues"}, "pullrequests": {"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/pullrequests"}}, "fork_policy": "allow_forks", "full_name": "litmis/python-itoolkit", "name": "python-itoolkit", "project": {"links": {"self": {"href": "https://api.bitbucket.org/2.0/workspaces/litmis/projects/IIOSP"}, "html": {"href": "https://bitbucket.org/litmis/workspace/projects/IIOSP"}, "avatar": {"href": "https://bitbucket.org/account/user/litmis/projects/IIOSP/avatar/32?ts=1484155108"}}, "type": "project", "name": "Open Source Projects for IBM i", "key": "IIOSP", "uuid": "{ddb5632c-37eb-4e68-b5c4-bcd0d3953234}"}, "language": "python", "created_on": "2016-06-13T15:29:37.077879+00:00", "mainbranch": {"type": "branch", "name": "master"}, "workspace": {"slug": "litmis", "type": "workspace", "name": "litmis", "links": {"self": {"href": "https://api.bitbucket.org/2.0/workspaces/litmis"}, "html": {"href": "https://bitbucket.org/litmis/"}, "avatar": {"href": "https://bitbucket.org/workspaces/litmis/avatar/?ts=1543631786"}}, "uuid": "{f6c9fd02-930e-489e-993c-d96793cd67f6}"}, "has_issues": true, "owner": {"username": "litmis", "display_name": "litmis", "type": "team", "uuid": "{f6c9fd02-930e-489e-993c-d96793cd67f6}", "links": {"self": {"href": "https://api.bitbucket.org/2.0/teams/%7Bf6c9fd02-930e-489e-993c-d96793cd67f6%7D"}, "html": {"href": "https://bitbucket.org/%7Bf6c9fd02-930e-489e-993c-d96793cd67f6%7D/"}, "avatar": {"href": "https://bitbucket.org/account/litmis/avatar/"}}}, "updated_on": "2018-12-21T19:28:26.966898+00:00", "size": 1205097, "type": "repository", "slug": "python-itoolkit", "is_private": false, "description": "Repository for Python's iToolKit for IBM i."}
{
"scm": "git",
"website": "",
"has_wiki": true,
"uuid": "{6bbee65f-ec4c-4c13-950e-d5715a2ad85b}",
"links": {
"watchers": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/watchers"
},
"branches": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/refs/branches"
},
"tags": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/refs/tags"
},
"commits": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/commits"
},
"clone": [
{
"href": "https://bitbucket.org/litmis/python-itoolkit.git",
"name": "https"
},
{
"href": "[email protected]:litmis/python-itoolkit.git",
"name": "ssh"
}
],
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit"
},
"source": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/src"
},
"html": {
"href": "https://bitbucket.org/litmis/python-itoolkit"
},
"avatar": {
"href": "https://bytebucket.org/ravatar/%7B6bbee65f-ec4c-4c13-950e-d5715a2ad85b%7D?ts=python"
},
"hooks": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/hooks"
},
"forks": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/forks"
},
"downloads": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/downloads"
},
"issues": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/issues"
},
"pullrequests": {
"href": "https://api.bitbucket.org/2.0/repositories/litmis/python-itoolkit/pullrequests"
}
},
"fork_policy": "allow_forks",
"full_name": "litmis/python-itoolkit",
"name": "python-itoolkit",
"project": {
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/workspaces/litmis/projects/IIOSP"
},
"html": {
"href": "https://bitbucket.org/litmis/workspace/projects/IIOSP"
},
"avatar": {
"href": "https://bitbucket.org/account/user/litmis/projects/IIOSP/avatar/32?ts=1484155108"
}
},
"type": "project",
"name": "Open Source Projects for IBM i",
"key": "IIOSP",
"uuid": "{ddb5632c-37eb-4e68-b5c4-bcd0d3953234}"
},
"language": "python",
"created_on": "2016-06-13T15:29:37.077879+00:00",
"mainbranch": {
"type": "branch",
"name": "master"
},
"workspace": {
"slug": "litmis",
"type": "workspace",
"name": "litmis",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/workspaces/litmis"
},
"html": {
"href": "https://bitbucket.org/litmis/"
},
"avatar": {
"href": "https://bitbucket.org/workspaces/litmis/avatar/?ts=1543631786"
}
},
"uuid": "{f6c9fd02-930e-489e-993c-d96793cd67f6}"
},
"has_issues": true,
"owner": {
"username": "litmis",
"display_name": "litmis",
"type": "team",
"uuid": "{f6c9fd02-930e-489e-993c-d96793cd67f6}",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/teams/%7Bf6c9fd02-930e-489e-993c-d96793cd67f6%7D"
},
"html": {
"href": "https://bitbucket.org/%7Bf6c9fd02-930e-489e-993c-d96793cd67f6%7D/"
},
"avatar": {
"href": "https://bitbucket.org/account/litmis/avatar/"
}
}
},
"updated_on": "2018-12-21T19:28:26.966898+00:00",
"size": 1205097,
"type": "repository",
"slug": "python-itoolkit",
"is_private": false,
"description": "Repository for Python's iToolKit for IBM i."
}
549 changes: 548 additions & 1 deletion tests/data/bitbucket_mock_release_data.json

Large diffs are not rendered by default.

2,271 changes: 2,270 additions & 1 deletion tests/data/cargo.json

Large diffs are not rendered by default.

2,322 changes: 2,321 additions & 1 deletion tests/data/cargo_mock_data.json

Large diffs are not rendered by default.

Loading

0 comments on commit 536f5ed

Please sign in to comment.