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

Various fixes to incoming webhooks for withings/fitbit notifications #28

Merged
merged 4 commits into from
Jul 29, 2023

Conversation

caarmen
Copy link
Owner

@caarmen caarmen commented Jul 29, 2023


Fix naming and comments in test_withings_routes:

The test test_first_user_weight initially only tested a scenario where no previous weight was logged. It was modified after to test different scenarios. Updating the test name and inline comments to reflect that.


Extract test scenarios out of test_fitbit_poll into fitbit_scenarios.


Add a test for the fitbit notification webhook.

It currently fails because we don't correctly save the sleep data.


Fix bug where sleep data wasn't saved when the fitbit notification webhook was called.

caarmen added 2 commits July 29, 2023 19:30
The test `test_first_user_weight` initially only tested a scenario where no previous weight was logged. It was modified after to test different scenarios. Updating the test name and inline comments to reflect that.
It currently fails because we don't correctly save the sleep data.
@caarmen caarmen marked this pull request as ready for review July 29, 2023 18:01
@caarmen caarmen merged commit ab40866 into main Jul 29, 2023
@caarmen caarmen deleted the fix-webhooks branch July 29, 2023 18:03
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.

1 participant