Skip to content
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

feat(python-sdk): MAX-28 - test preview allocations - happy path #16

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

SebastianMiklaszewskiBldr
Copy link
Contributor

No description provided.

"unit_name": "Component",
"unit_price": "1.0",
"allow_fractional_quantities": True,
"quantity": 1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's no such property for quantity_based_component, we specify quantity during the allocation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

@michalpierog
Copy link
Contributor

Some general question: don't we need any cleanup/teardown method for tests? Is it safe to run those tests multiple times? Is it already implemented somewhere?

@SebastianMiklaszewskiBldr
Copy link
Contributor Author

SebastianMiklaszewskiBldr commented Jan 30, 2024

@michalpierog regarding cleanup. Currently I clean at the end of the tests everything what I can. Mostly subscriptions and customers. Later I want to add similar solution like in php-sdk with sh script which I will run on CI to cleanup the site before and after tests

@SebastianMiklaszewskiBldr SebastianMiklaszewskiBldr force-pushed the feat/MAX-28 branch 2 times, most recently from 11536ef to ed80e70 Compare January 30, 2024 15:36
Base automatically changed from feat/MAX-18-2 to main January 30, 2024 15:39
@SebastianMiklaszewskiBldr SebastianMiklaszewskiBldr merged commit 114a4be into main Jan 30, 2024
2 checks passed
@SebastianMiklaszewskiBldr SebastianMiklaszewskiBldr deleted the feat/MAX-28 branch January 30, 2024 16:37
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.

3 participants