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

Add test cases to prevent future API breaks on AZ separated changes #636

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

VoigtS
Copy link
Member

@VoigtS VoigtS commented Dec 17, 2024

As promised in previous PRs. A new fixture was added to cover our existing abstraction levels with one dedicated case.

@coveralls
Copy link

coveralls commented Dec 17, 2024

Coverage Status

coverage: 79.352% (+0.04%) from 79.312%
when pulling be3962a on api_test_fix
into a952441 on master.

Comment on lines 12 to 13
INSERT INTO project_az_resources (id, resource_id, az, quota, usage, physical_usage, subresources) VALUES (1, 1, 'az-one', 5, 1, NULL, '');
INSERT INTO project_az_resources (id, resource_id, az, quota, usage, physical_usage, subresources) VALUES (2, 1, 'az-two', 5, 1, NULL, '');
Copy link
Contributor

Choose a reason for hiding this comment

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

For the complete prototypical example, we would also expect backend_quota to be non-null and equal to quota.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for the catch. I included them

@majewsky majewsky merged commit 49b3de1 into master Dec 17, 2024
7 checks passed
@majewsky majewsky deleted the api_test_fix branch December 17, 2024 15:14
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