hass-core/tests/components/notify
Christopher Viel 455c629f47 Don't duplicate html5 registrations (#11451)
* Don't duplicate html5 registrations

If a registration is posted and another registration with the same
endpoint URL exists, update that one instead. That way, we preserve
the device name that has been configured. The previous behavior used to
append 'unnamed device' registrations over and over, leading to
multiple copies of the same registration. The endpoint URL is unique per
service worker so it is safe to update matching registrations.

* Refactor html5 registration view to not write json in the event loop
2018-01-05 14:29:27 -08:00
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_apns.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_command_line.py Fix more deprecation warnings (#7778) 2017-05-26 13:12:17 -07:00
test_demo.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_facebook.py Add Facebook Notification tests (#10642) 2017-11-17 21:12:36 -08:00
test_file.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_group.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_html5.py Don't duplicate html5 registrations (#11451) 2018-01-05 14:29:27 -08:00
test_smtp.py SMTP notify enhancements: full HTML emails and custom product_name in email headers (#7533) 2017-05-15 00:23:57 -07:00