-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No contacts info in component list op.
- Loading branch information
Showing
6 changed files
with
104 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
[{"name": "Test Global Component", "contacts": [], "labels": [{"url": "http://example.com/lable/1", "name": "test label", "description": "test label description"}], "dist_git_web_url": "http://pkgs.example.com/test_global_component", "upstream": {"homepage": "http://test_global_component.org", "scm_url": "http://test_global_component.org/git", "scm_type": "git"}, "dist_git_path": null, "id": "1"}] | ||
[ | ||
{ | ||
"dist_git_path": null, | ||
"dist_git_web_url": "http://pkgs.example.com/test_global_component", | ||
"id": "1", | ||
"labels": [ | ||
{ | ||
"description": "test label description", | ||
"name": "test label", | ||
"url": "http://example.com/lable/1" | ||
} | ||
], | ||
"name": "Test Global Component", | ||
"upstream": { | ||
"homepage": "http://test_global_component.org", | ||
"scm_type": "git", | ||
"scm_url": "http://test_global_component.org/git" | ||
} | ||
} | ||
] |
31 changes: 31 additions & 0 deletions
31
tests/component/data/global_component/list_with_contacts.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,31 @@ | ||
[ | ||
{ | ||
"contacts": [ | ||
{ | ||
"contact": { | ||
"email": "maillist1@test.com", | ||
"id": 1, | ||
"mail_name": "maillist1" | ||
}, | ||
"id": 1, | ||
"role": "pm" | ||
} | ||
], | ||
"dist_git_path": null, | ||
"dist_git_web_url": "http://pkgs.example.com/test_global_component", | ||
"id": "1", | ||
"labels": [ | ||
{ | ||
"description": "test label description", | ||
"name": "test label", | ||
"url": "http://example.com/lable/1" | ||
} | ||
], | ||
"name": "Test Global Component", | ||
"upstream": { | ||
"homepage": "http://test_global_component.org", | ||
"scm_type": "git", | ||
"scm_url": "http://test_global_component.org/git" | ||
} | ||
} | ||
] |
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 |
---|---|---|
@@ -1 +1,18 @@ | ||
[{"global_component": "test_global_component", "dist_git_web_url": "http://pkgs.example.com/test_release_component", "release": {"active": true, "release_id": "test_release"}, "active": true, "brew_package": null, "dist_git_branch": "test_branch", "id": "1", "name": "Test Release Component", "contacts": [], "bugzilla_component": null, "srpm": null, "type": "rpm"}] | ||
[ | ||
{ | ||
"active": true, | ||
"brew_package": null, | ||
"bugzilla_component": null, | ||
"dist_git_branch": "test_branch", | ||
"dist_git_web_url": "http://pkgs.example.com/test_release_component", | ||
"global_component": "test_global_component", | ||
"id": "1", | ||
"name": "Test Release Component", | ||
"release": { | ||
"active": true, | ||
"release_id": "test_release" | ||
}, | ||
"srpm": null, | ||
"type": "rpm" | ||
} | ||
] |
29 changes: 29 additions & 0 deletions
29
tests/component/data/release_component/list_with_contacts.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,29 @@ | ||
[ | ||
{ | ||
"active": true, | ||
"brew_package": null, | ||
"bugzilla_component": null, | ||
"contacts": [ | ||
{ | ||
"contact": { | ||
"email": "maillist1@test.com", | ||
"id": 1, | ||
"mail_name": "maillist1" | ||
}, | ||
"id": 1, | ||
"role": "pm" | ||
} | ||
], | ||
"dist_git_branch": "test_branch", | ||
"dist_git_web_url": "http://pkgs.example.com/test_release_component", | ||
"global_component": "test_global_component", | ||
"id": "1", | ||
"name": "Test Release Component", | ||
"release": { | ||
"active": true, | ||
"release_id": "test_release" | ||
}, | ||
"srpm": null, | ||
"type": "rpm" | ||
} | ||
] |
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