Skip to content

Conversation

@albertsola
Copy link
Contributor

No description provided.

assert isinstance(orders_service_additional, AsyncOrdersService)


def test_async_subscriptions(async_http_client: AsyncHTTPClient):
Copy link
Contributor

@svazquezco svazquezco Sep 3, 2025

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....

Copy link
Contributor Author

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,
Copy link
Contributor

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

Copy link
Contributor Author

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,
Copy link
Contributor

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

Copy link
Contributor Author

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

@albertsola albertsola force-pushed the MPT-12845/Commerce-subscriptions branch from 256905e to 2e4344a Compare September 3, 2025 12:22
@albertsola albertsola force-pushed the MPT-12845/Commerce-subscriptions branch from 2e4344a to ee28092 Compare September 3, 2025 12:30
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 3, 2025

@albertsola albertsola merged commit 468c07b into main Sep 3, 2025
3 checks passed
@albertsola albertsola deleted the MPT-12845/Commerce-subscriptions branch September 3, 2025 13:03
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.

4 participants