Skip to content

Add support for locking an issue #575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 17, 2016

Conversation

adrianmoisey
Copy link
Contributor

#572

I'm not sure if this test coverage is enough. I'll need guidance if there is any more.

@@ -31,6 +31,10 @@ class Issue(GitHubCore):

"""

# The Accept header will likely be removable once the feature is out of
# preview mode. See: https://git.io/vgXmB
PREVIEW_HEADERS = {'Accept': 'application/vnd.github.the-key-preview+json'}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this name a little more descriptive? Like LOCK_PREVIEW_HEADERS

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in a5b160e

@adrianmoisey
Copy link
Contributor Author

I've fixed the issues and rebased.

@itsmemattchung
Copy link
Contributor

Hey @adrianmoisey ,
The unit test are looking good. You'll also need to add integration tests.

http://github3py.readthedocs.org/en/develop/testing.html

Example

https://github.com/sigmavirus24/github3.py/blob/develop/tests/integration/test_github.py

If you need help with creating the integration test(s), let me know.

@adrianmoisey
Copy link
Contributor Author

I've added integration tests. Let me know if that's good enough, thanks!

@sigmavirus24
Copy link
Owner

🍰

sigmavirus24 added a commit that referenced this pull request Feb 17, 2016
@sigmavirus24 sigmavirus24 merged commit 447975a into sigmavirus24:develop Feb 17, 2016
@itsmemattchung
Copy link
Contributor

Thanks @adrianmoisey 🍰

@adrianmoisey
Copy link
Contributor Author

Thanks for the review and help!

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.

3 participants