-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend generate category data tests (#3957)
* Add tests to veriry paths when there are existing content * Use 0 as default * Add release exception testing * simplify snapshots * Add status test * Limit gen error test to integration * Done combine old tests
- Loading branch information
Showing
24 changed files
with
965 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...test-generate-category-data-error-status-release-304-hacs-test-org-integration-basic.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"tests/scripts/data/test_generate_category_data.py::test_generate_category_data_error_status_release[304-hacs-test-org/integration-basic]": { | ||
"https://api.github.com/rate_limit": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom/contents/custom_components/example/manifest.json": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom/contents/hacs.json": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom/git/trees/1.0.0": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom/releases": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic/git/trees/1.0.0": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic/releases/latest": 1, | ||
"https://api.github.com/repos/hacs/default/contents/integration": 1, | ||
"https://api.github.com/repos/hacs/integration": 1, | ||
"https://api.github.com/repos/hacs/integration/branches/main": 1, | ||
"https://api.github.com/repos/hacs/integration/releases": 1, | ||
"https://data-v2.hacs.xyz/integration/data.json": 1, | ||
"https://data-v2.hacs.xyz/removed/repositories.json": 1 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...test-generate-category-data-error-status-release-404-hacs-test-org-integration-basic.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"tests/scripts/data/test_generate_category_data.py::test_generate_category_data_error_status_release[404-hacs-test-org/integration-basic]": { | ||
"https://api.github.com/rate_limit": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom/contents/custom_components/example/manifest.json": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom/contents/hacs.json": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom/git/trees/1.0.0": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic-custom/releases": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic/git/trees/1.0.0": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic/releases": 1, | ||
"https://api.github.com/repos/hacs-test-org/integration-basic/releases/latest": 1, | ||
"https://api.github.com/repos/hacs/default/contents/integration": 1, | ||
"https://api.github.com/repos/hacs/integration": 1, | ||
"https://api.github.com/repos/hacs/integration/branches/main": 1, | ||
"https://api.github.com/repos/hacs/integration/releases": 1, | ||
"https://data-v2.hacs.xyz/integration/data.json": 1, | ||
"https://data-v2.hacs.xyz/removed/repositories.json": 1 | ||
} | ||
} |
Oops, something went wrong.