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

Integration test edge cases #70

Conversation

camille-bouvy-frequenz
Copy link
Collaborator

@camille-bouvy-frequenz camille-bouvy-frequenz commented Nov 14, 2024

This PR addresses #68.
It also adds a validation rule in the client for the quantity, ensuring that it is always > 0MW.

More edge cases should still be added, so please suggest some scenarios that you think should still be tested!:)

@camille-bouvy-frequenz camille-bouvy-frequenz requested a review from a team as a code owner November 14, 2024 13:12
@camille-bouvy-frequenz camille-bouvy-frequenz added this to the v1.0.0 milestone Nov 18, 2024
@github-actions github-actions bot added the part:docs Affects the documentation label Nov 18, 2024
Copy link

@nhatcher-frequenz nhatcher-frequenz left a comment

Choose a reason for hiding this comment

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

Hi @camille-bouvy-frequenz , a couple of minor comments. But LGTM!

integration_tests/test_api.py Show resolved Hide resolved
integration_tests/test_api.py Outdated Show resolved Hide resolved
@camille-bouvy-frequenz
Copy link
Collaborator Author

I now also added validation rules for the quantity and price to be within the bounds from EPEX. The rule about the quantity having to be >= 0.1 MW thus overwrites the rule for positive quantity. I kept both for clarity for now but I could also remove the first rule as it is redundant.

Signed-off-by: camille-bouvy-frequenz <[email protected]>
Signed-off-by: camille-bouvy-frequenz <[email protected]>
Copy link

@nhatcher-frequenz nhatcher-frequenz left a comment

Choose a reason for hiding this comment

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

LGTM!

@camille-bouvy-frequenz camille-bouvy-frequenz merged commit 5b95dd9 into frequenz-floss:v0.x.x Dec 3, 2024
14 checks passed
@camille-bouvy-frequenz camille-bouvy-frequenz deleted the integration-test-edge-cases branch December 3, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:docs Affects the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants