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

Change test conftest to not make random results #119

Open
peterdudfield opened this issue Nov 13, 2024 · 0 comments
Open

Change test conftest to not make random results #119

peterdudfield opened this issue Nov 13, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@peterdudfield
Copy link
Contributor

Change test conftest to not make random results. THe can be in the generation values, and the forecast power kw values

This would allow some stronger asserts in the adjuster tests

@peterdudfield peterdudfield mentioned this issue Nov 13, 2024
6 tasks
@peterdudfield peterdudfield added the good first issue Good for newcomers label Nov 13, 2024
priyanshubajaj added a commit to priyanshubajaj/india-forecast-app that referenced this issue Jan 7, 2025
Changed test values from random to non-deterministic using a seed value over the conftest.py file, then some of the != asserts in tests below could be stronger = asserts
peterdudfield pushed a commit that referenced this issue Jan 10, 2025
Changed test values from random to non-deterministic using a seed value over the conftest.py file, then some of the != asserts in tests below could be stronger = asserts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant