-
Notifications
You must be signed in to change notification settings - Fork 435
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 the Person resource #482
Conversation
@ob-stripe I never remember how to run the test suite locally? The |
@remi-stripe This is probably not a perfect system by any means, but using Pipenv usually works for me: pipenv install --dev
pipenv shell
tox -e py27 |
@brandur-stripe yeah but ob once gave me the command to run a specific test and it was using pytest or something and I can never remember the right invocation lol |
You can run specific tests matching by name with |
@jleclanche Ah awesome I'll try that thank you! |
b5b6a57
to
3b3104b
Compare
r? @ob-stripe |
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.
One minor comment, LGTM otherwise.
tests/api_resources/test_account.py
Outdated
def test_is_creatable(self, request_mock): | ||
resource = stripe.Account.create_person( | ||
TEST_RESOURCE_ID, | ||
dob=dict( |
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 you use the {'day': 1, 'month': 1, 'year': 1980}
syntax instead?
3b3104b
to
4735c8c
Compare
@ob-stripe PTAL |
cc @stripe/api-libraries