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
Adjust to Github API changes regarding emails #1890
Conversation
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.
This is looking like a great start, I have some concerns inline.
ac86ebe
to
85cc405
Compare
a13f6df
to
9c0c522
Compare
tests/AuthenticatedUser.py
Outdated
@@ -100,12 +100,12 @@ def testEditWithAllArguments(self): | |||
|
|||
def testEmails(self): | |||
self.assertEqual( | |||
self.user.get_emails(), | |||
[item.email for item in self.user.get_emails()], |
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.
You probably need to pull this out of the list comprehension so you check at least primary and hopefully the other two for the first element.
Closes #1852