-
Notifications
You must be signed in to change notification settings - Fork 407
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
Add support for locking an issue #575
Conversation
8e1bfef
to
dcc43d8
Compare
@@ -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'} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in a5b160e
3dd3c1e
to
ce82b0d
Compare
I've fixed the issues and rebased. |
Hey @adrianmoisey , http://github3py.readthedocs.org/en/develop/testing.html Examplehttps://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. |
dfe3cf2
to
263c54d
Compare
I've added integration tests. Let me know if that's good enough, thanks! |
🍰 |
Add support for locking an issue
Thanks @adrianmoisey 🍰 |
Thanks for the review and help! |
#572
I'm not sure if this test coverage is enough. I'll need guidance if there is any more.