10BC0 Picking up #599 Add retrieving of the combined status of a RepoCommit by mindw · Pull Request #663 · sigmavirus24/github3.py · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@mindw
Copy link
Contributor
@mindw mindw commented Dec 31, 2016

@Vampire 's #599 and:

  • rebased.
  • added tests.
  • added & fixed docs.
  • added missing attributes.

Best to squash-merge if/once approved.

@mindw mindw force-pushed the Vampire/combined-status branch from dca0ac8 to 5ac0f70 Compare January 6, 2017 08:47
@mindw
Copy link
Contributor Author
mindw commented Jan 18, 2017

ping?

@sigmavirus24
Copy link
Owner

Sorry that I lost track of this @mindw. This looks good to me. @itsmemattchung do you have time to write some integration tests and record a test for this?

@itsmemattchung
Copy link
Contributor

Sorry that I lost track of this @mindw. This looks good to me. @itsmemattchung do you have time to write some integration tests and record a test for this?

Thanks for writing this @mindw .

@sigmavirus24 I do indeed have time to write and record a test (or tests); earliest is this evening, latest is this weekend.

@mindw
Copy link
Contributor Author
mindw commented Jan 18, 2017

@itsmemattchung can you please point to or describe how it that done? I was unable to find it on my own.

@itsmemattchung
Copy link
Contributor

Sure—you can find the documentation here. Also, to get you started, here's an example integration test: get_pull_request. Basically, our integration test capture the HTTP request/response and persist the file to JSON; the file is then replayed (using Betamax, also written by @sigmavirus24 ) to ensure that new changes don't accidentally modify HTTP requests (headers, uri, etc).

Feel free to ping either of us.

@itsmemattchung
Copy link
Contributor

@mindw let me know if you want to give the tests a shot; if not, I'll take a stab this weekend.

@sigmavirus24 sigmavirus24 force-pushed the Vampire/combined-status branch from 5ac0f70 to 6c73f1e Compare January 27, 2017 22:38
@sigmavirus24
Copy link
Owner

Okay. I've updated this and added tests. Once Travis & AppVeyor pass, I'll merge it.

Thanks to both @Vampire for starting this and @mindw for rebasing and carrying it the rest of the way. 🎉

@sigmavirus24 sigmavirus24 merged commit 5544e97 into sigmavirus24:develop Jan 27, 2017
@mindw mindw deleted the Vampire/combined-status branch January 28, 2017 06:00
@Vampire
Copy link
Contributor
Vampire commented Apr 14, 2017

Ah, nice, thanks for polishing it @mindw and @sigmavirus24 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0