core/tests/components/generic
Dave T 6040c30b45
Add visual image preview during generic camera config flow (#71269)
* Add visual preview during setup of generic camera

* Code review: standardize preview  url

* Fix slug test

* Refactor to use HomeAssistantView

* Code review: simplify

* Update manifest

* Don't illegally access protected member

* Increase test coverage

* Prevent browser caching of preview images.

* Code review:move incrementor to ?t=X + simplify

* Discard old flow preview data

* Increase test coverage

* Code review: rename variables for clarity

* Add timeout for image previews

* Fix preview timeout tests

* Simplify: store cam image preview in config_flow

* Call step method to transition between flow steps

* Only store user_input in flow, not CameraObject

* Fix problem where test wouldn't run in isolation.

* Simplify test

* Don't move directly to another step's form

* Remove unused constant

* Simplify test

Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2022-10-06 22:24:19 +02:00
..
fixtures
__init__.py
conftest.py Add visual image preview during generic camera config flow (#71269) 2022-10-06 22:24:19 +02:00
sample1_animate.png Add image test cases to generic (#69040) 2022-04-02 10:54:19 +02:00
sample2_jpeg_odd_header.jpg Add image test cases to generic (#69040) 2022-04-02 10:54:19 +02:00
sample3_jpeg_odd_header.jpg Add image test cases to generic (#69040) 2022-04-02 10:54:19 +02:00
sample4_K5-60mileAnim-320x240.gif Add image test cases to generic (#69040) 2022-04-02 10:54:19 +02:00
sample5_webp.webp Support webp still image format in generic camera (#69718) 2022-04-08 23:06:34 -07:00
test_camera.py Add visual image preview during generic camera config flow (#71269) 2022-10-06 22:24:19 +02:00
test_config_flow.py Add visual image preview during generic camera config flow (#71269) 2022-10-06 22:24:19 +02:00
test_diagnostics.py Fix diagnostics export for generic camera (#75665) 2022-07-24 10:21:01 +02:00