-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add a test for user API #148
base: main
Are you sure you want to change the base?
Conversation
6f05bc1
to
0013b4b
Compare
e018848
to
49fc443
Compare
4dfd7a7
to
d5598ef
Compare
Tests are created as sync and not async so we need for now to pin aiohttp to a old version |
The response parsing works fine:
The issue I was explaining over discord is fitbit-web-api/fitbit_web_api/api/user_api.py Line 196 in a5329e7
response_type=None which means that the API client returns None fitbit-web-api/fitbit_web_api/api_client.py Line 175 in a5329e7
and as I was saying this is consistent with the response data models not being produced https://github.com/chemelli74/fitbit-web-api/tree/main/fitbit_web_api/models and the return type in the documentation being None https://github.com/chemelli74/fitbit-web-api/blob/main/docs/UserApi.md#return-type-1 This is all repeating what I said on discord, because the fitibt openapi spec itself does not include these. |
This test currently fails