Commits on Source (2)
-
Jesse Keating authored
This creates 3 classes; one for iterations (Short), one for direct GETs (Issue), and one for events (EventIssue). Most attributes are directly assigned, except where otherwise commented. Some cassettes needed to be updated for the relatively new 'assignees' attribute that now comes back. A sample json needed to be updated as well. Cassettes that needed updated that were associated with authenticated calls got the calls updated to use auto_login as well. Some cassettes will break between older requests and newer, so tag those tests accordingly. Allow the tests to work in older requests land for now. The search tests needed to be updated as well, label name changed and syntax changed slightly. Related-to #670 Signed-off-by:
Jesse Keating <jkeating@j2solutions.net>
-
Ian Stapleton Cordasco authored
Split up Issue objects
Showing
- github3/api.py 1 addition, 1 deletiongithub3/api.py
- github3/events.py 20 additions, 4 deletionsgithub3/events.py
- github3/github.py 13 additions, 11 deletionsgithub3/github.py
- github3/issues/__init__.py 2 additions, 1 deletiongithub3/issues/__init__.py
- github3/issues/event.py 5 additions, 4 deletionsgithub3/issues/event.py
- github3/issues/issue.py 83 additions, 58 deletionsgithub3/issues/issue.py
- github3/projects.py 2 additions, 1 deletiongithub3/projects.py
- github3/repos/repo.py 8 additions, 7 deletionsgithub3/repos/repo.py
- github3/search/issue.py 2 additions, 2 deletionsgithub3/search/issue.py
- tests/cassettes/GitHub_issue.json 1 addition, 1 deletiontests/cassettes/GitHub_issue.json
- tests/cassettes/GitHub_search_issues.json 1 addition, 1 deletiontests/cassettes/GitHub_search_issues.json
- tests/cassettes/Issue_add_labels.json 1 addition, 1 deletiontests/cassettes/Issue_add_labels.json
- tests/cassettes/Issue_assign.json 1 addition, 1 deletiontests/cassettes/Issue_assign.json
- tests/cassettes/Issue_closed.json 1 addition, 1 deletiontests/cassettes/Issue_closed.json
- tests/cassettes/Issue_comment.json 1 addition, 1 deletiontests/cassettes/Issue_comment.json
- tests/cassettes/Issue_comments.json 1 addition, 1 deletiontests/cassettes/Issue_comments.json
- tests/cassettes/Issue_create_comment.json 1 addition, 1 deletiontests/cassettes/Issue_create_comment.json
- tests/cassettes/Issue_edit.json 1 addition, 1 deletiontests/cassettes/Issue_edit.json
- tests/cassettes/Issue_events.json 1 addition, 1 deletiontests/cassettes/Issue_events.json
- tests/cassettes/Issue_labels.json 1 addition, 1 deletiontests/cassettes/Issue_labels.json
This diff is collapsed.