-
Notifications
You must be signed in to change notification settings - Fork 0
MPT-12845 Add Commerce subscriptions #25
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
Conversation
| assert isinstance(orders_service_additional, AsyncOrdersService) | ||
|
|
||
|
|
||
| def test_async_subscriptions(async_http_client: AsyncHTTPClient): |
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.
I'd like to parametrize the orders_properties tests. Otherwise, please, use the same name as we have for orders -> ...commerce_orders_property..., ...commerce_subscriptions_property....
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.
done
| ).mock( | ||
| return_value=httpx.Response( | ||
| status_code=httpx.codes.OK, | ||
| json=subscription_expected, |
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.
Please remove the comma to avoid splitting the line unnecessarily
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.
ruff seems to add it if the line does not fit inside a single line in this case
| ).mock( | ||
| return_value=httpx.Response( | ||
| status_code=httpx.codes.OK, | ||
| json=subscription_expected, |
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.
Same comment about the comma here
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.
ruff seems to add it if the line does not fit inside a single line in this case
256905e to
2e4344a
Compare
2e4344a to
ee28092
Compare
|



No description provided.