Commit Graph

16 Commits (e7f0768ae67f71d5a8a2e5dad57434bb105d6f44)

Author SHA1 Message Date
Ville Skyttä 153d6e891e
Use config_entries.SOURCE_* constants () 2021-04-25 11:27:40 +02:00
Franck Nijhof 65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Franck Nijhof e56dd8ed50
Detect use of deprecated base_url ()
* Detect use of deprecated base_url

* Update get_url helper

* Update core migration

* Migrate all tests
2020-05-08 17:52:32 +02:00
Paulus Schoutsen 2af984917e
Use asynctest-mock in most places ()
* Use asynctest-mock in most places

* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Franck Nijhof 906385172a
String formatting improvements for tests () 2020-04-05 00:26:08 +02:00
Bas Nijholt a78fe25871 Sort imports according to PEP8 for locative () 2019-12-09 11:43:46 +01:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Martin Hjelmare d4fc22add4 Fix locative device update ()
* Add a test for two devices

* Fix locative updating all devices

* Add a guard clause that checks if correct device is passed.
2019-06-24 20:00:28 -07:00
Paulus Schoutsen 70ed58a78d
Restructure device tracker ()
* Restructure device tracker

* Docstyle

* Fix typing

* Lint

* Lint

* Fix tests
2019-05-15 23:43:45 +02:00
Paulus Schoutsen 590eead128
Test fixes ()
* Fix light tests [skip ci]

* Fix tests/common

* Fix some mqtt tests [skip ci]

* Fix tests and component manifests which have only one platform

* Fix more tests and manifests

* Fix demo/notify tests

* Rollback test for demo.geo_location
2019-04-08 23:16:55 -07:00
Martin Hjelmare 47220d71a1 Clean up locative tests () 2019-02-24 10:49:50 -06:00
Rohan Kapoor 0c87fb421e Load/unload locative entities correctly between component and platform ()
* Embed device_tracker in locative

* Load/unload locative entities correctly between component and platform

* Await the coroutine directly

* Await the correct coroutine
2019-01-27 23:43:16 +01:00
Rohan Kapoor 3e325a4ef9 Remove dead test code 2019-01-12 20:24:55 -08:00
Rohan Kapoor 4e020b90e1 Switch locative to use the webhook component 2019-01-12 19:18:33 -08:00
Rohan Kapoor d820efc4e3 Split locative to a separate component ()
* Split locative to a separate component

* Switch tests to use constants for http codes

* Fix tests
2019-01-11 15:14:11 -08:00