Commits on Source (7)
-
Jesse Keating authored
Related-to #670 Signed-off-by:
Jesse Keating <jkeating@j2solutions.net>
-
Jesse Keating authored
This creates 3 classes; one for iterations (Short), one for direct GETs (PullRequest), and one for events (EventPullRequest). Most attributes are directly assigned, except where otherwise commented. A couple cassettes needed to be updated, and the sample json for pull_request needed to be updated as well. Updating that one required updating the tests for the now current data. Related-to #670 Signed-off-by:
Jesse Keating <jkeating@j2solutions.net>
-
Becca James authored
This commit attempts to add support for multiple assignees issue creation.
-
Jesse Keating authored
This cassette was causing failures. Signed-off-by:
Jesse Keating <jkeating@j2solutions.net>
-
Jesse Keating authored
There was not an integration test for this code path. Testing this path uncovered a bug in ShortUser when attempting to repr such objects. The name attribute is not available in the short object, so that object should print differently. The argument order for create_issue in github.py needed to match that of create_issue in repo.py, since it just passes through to that function. Signed-off-by:
Jesse Keating <jkeating@j2solutions.net>
-
Ian Stapleton Cordasco authored
Add "assignees" option to create_issue
-
Ian Stapleton Cordasco authored
Implement PullRequest refactor
Showing
- github3/events.py 22 additions, 5 deletionsgithub3/events.py
- github3/github.py 7 additions, 3 deletionsgithub3/github.py
- github3/pulls.py 108 additions, 112 deletionsgithub3/pulls.py
- github3/repos/repo.py 8 additions, 8 deletionsgithub3/repos/repo.py
- github3/users.py 2 additions, 1 deletiongithub3/users.py
- tests/cassettes/GitHub_create_issue.json 1 addition, 1 deletiontests/cassettes/GitHub_create_issue.json
- tests/cassettes/GitHub_create_issue_assignees.json 1 addition, 0 deletionstests/cassettes/GitHub_create_issue_assignees.json
- tests/cassettes/Repository_events.json 1 addition, 1 deletiontests/cassettes/Repository_events.json
- tests/cassettes/Repository_network_events.json 1 addition, 1 deletiontests/cassettes/Repository_network_events.json
- tests/cassettes/User_events.json 1 addition, 1 deletiontests/cassettes/User_events.json
- tests/integration/test_github.py 20 additions, 1 deletiontests/integration/test_github.py
- tests/integration/test_repos_repo.py 3 additions, 3 deletionstests/integration/test_repos_repo.py
- tests/unit/json/pull_request_example 223 additions, 152 deletionstests/unit/json/pull_request_example
- tests/unit/test_events.py 1 addition, 1 deletiontests/unit/test_events.py
- tests/unit/test_pulls.py 2 additions, 2 deletionstests/unit/test_pulls.py
This diff is collapsed.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.