epenet
5b80b1f55a
Add type hints to integration tests (part 25) ( #88308 )
2023-02-17 16:52:28 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Franck Nijhof
57cf11f067
Enable Ruff PT015 ( #86775 )
2023-01-27 11:10:29 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control ( #86154 )
2023-01-20 13:47:55 +01:00
epenet
e9f55f4e54
Apply hass-relative-import to tests (s-z) ( #78733 )
2022-09-19 09:51:31 +02:00
Ville Skyttä
0de95610e3
Use http.HTTPStatus in components/[wxyz]* ( #58330 )
2021-10-24 17:25:01 +02:00
Franck Nijhof
f0e5e616a7
Fix device discovery of OAuth2 config flows ( #48326 )
2021-03-25 10:35:01 -07:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Paulus Schoutsen
0c771f1c42
Replace asynctest with tests.async_mock ( #37428 )
2020-07-03 11:29:35 -07:00
Robert Van Gorkom
a6a6a7b69c
Add Withings webhooks ( #34447 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-16 20:16:18 +02:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Franck Nijhof
c0c5c33b20
Fix Withings timezone test ( #32602 )
2020-03-09 13:45:39 +01:00
Robert Van Gorkom
672db9cfe9
Fixing unit of measure for withings hydration. Fixes #30570 ( #30685 )
2020-01-11 20:58:06 -05:00
Franck Nijhof
2620a95944
Improve Withings tests in different time zone ( #30326 )
...
* Improve Withings tests in different time zone
* Address code review comment
* Spelling error in code doc
2019-12-31 11:10:39 -05:00
Franck Nijhof
5414e9d155
Fix Withings leaking time zone change into other tests ( #30320 )
...
* Fix Withings leaking time zone change in other tests
* Fix spelling error in code doc
2019-12-31 14:30:09 +01:00
Robert Van Gorkom
08af989658
Fixing timezone issue which caused wrong selection of data to be used. ( #30011 )
2019-12-28 21:25:37 +01:00
Robert Van Gorkom
66d2f5f61d
Fix withings wrong sleep state entry ( #29651 )
...
* Fixing issue where wrong sleep state entry was being used. closes #28370,#29397
* Fixing formatting.
* Sorting imports to get black checks to pass.
* Using lambda for getting latest sleep serie.
2019-12-10 21:54:50 +01:00
Franck Nijhof
04ab20846a
Bump black to 19.10b0 ( #28310 )
2019-10-28 23:32:34 -07:00
Robert Van Gorkom
15bedd8f27
Use latest withings_api module ( #27817 )
...
* Using latest winthings_api module.
Drastically reduced complexity of tests.
* Removing import source.
* Fixing test requirements.
* Using requests_mock instead of responses module.
* Updating file formatting.
* Removing unused method.
* Adding support for new OAuth2 config flow.
* Addressing PR feedback.
Removing unecessary base_url from config, this is a potential breaking change.
* Addressing PR feedback.
2019-10-24 09:41:04 -07:00
Robert Van Gorkom
77490a3246
Vangorra withings fix ( #27404 )
...
* Fixing connection issues with withings API by switching to a maintained client codebase.
* Updating requirements files.
* Adding withings api to requirements script.
* Using version of withings api with static version in setup.py.
* Updating requirements files.
2019-10-10 11:22:36 -07:00
Martin Hjelmare
c188ecf79b
Revert "Fix connection issues with withings API by switching to a maintained codebase ( #27310 )" ( #27385 )
...
This reverts commit 071476343c
.
2019-10-10 14:21:42 +02:00
Robert Van Gorkom
071476343c
Fix connection issues with withings API by switching to a maintained codebase ( #27310 )
...
* Fixing connection issues with withings API by switching to a maintained client codebase.
* Updating requirements files.
* Adding withings api to requirements script.
2019-10-08 20:14:52 +02:00
Robert Van Gorkom
614cf74225
Add Withings support ( #25154 )
...
* Rebasing with a clean branch.
Addressing PR feedback.
Cleaning up some static code checks.
Fixing bug with saving credentials.
* Removing unecessary change.
* Caching data manager.
* Removing configurable measures.
* Using import step in config flow.
* Updating config flows.
* Addressing PR feedback.
* Formatting source.
* Addressing PR feedback and rebasing.
2019-08-31 14:30:59 +02:00