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

Fix test_server Closes #147 #148

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

Lasall
Copy link
Collaborator

@Lasall Lasall commented Oct 9, 2024

  • Don´t rely on calculation per specific day. For now we can assume 48 values (2 days prediction).

@Lasall Lasall force-pushed the dl_dev-fix-test-server branch 2 times, most recently from 1b00d05 to fb04701 Compare October 9, 2024 17:50
]
"""
)
assert len(json.loads(result.text)) == prediction_hours
Copy link
Collaborator

Choose a reason for hiding this comment

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

You may use

assert len(result.json()) == prediction_hours

 * Don´t rely on calculation per specific day, just verify length.
@Lasall Lasall force-pushed the dl_dev-fix-test-server branch from fb04701 to f7c97ac Compare October 9, 2024 18:26
@drbacke drbacke merged commit a41aea8 into Akkudoktor-EOS:main Oct 10, 2024
2 checks passed
@Lasall Lasall deleted the dl_dev-fix-test-server branch January 1, 2025 13:42
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