Robert Svensson
6752bd450b
Use snapshot in Axis light tests ( #122703 )
2024-07-27 17:41:42 +02:00
Robert Svensson
b53800a69d
Tweak axis test fixtures ( #122469 )
...
* Don't automatically add config entry to hass
* Improve RTSP fixture typing
* Improve typing of config entry factory and remove unnecessary use of it
* Remove redundant fixture in config flow tests
* Parametrize config flow error test
2024-07-23 19:27:38 +02:00
Robert Svensson
ca7fb906cc
Axis improve fixture naming ( #120844 )
2024-06-30 14:52:20 +02:00
epenet
d9362a2f2f
Improve type hints in axis tests ( #119260 )
...
* Improve type hints in axis tests
* A couple more
* One more
* Improve light
* Improve hub
* Improve config-flow
2024-06-10 08:49:43 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Robert Svensson
c1e1db9863
Adapt to Axis library file structure changes ( #114181 )
...
* Adapt to axis library file structure changes
* Bump axis to v59
2024-03-25 12:16:41 -04:00
Robert Svensson
bf8d880e5f
Improve axis tests ( #114035 )
...
* Combine binary sensor tests into more logical groups
* Improve light tests
* Clean up switch tests
* Improve typing in conftest
* Add typing to camera
* Improve binary sensor
* Improve light
* Improve switch
2024-03-23 00:44:06 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Robert Svensson
c478b1416c
Adapt Axis integration to library refactoring ( #110898 )
...
* Adapt Axis integration to library refactoring
* Bump axis to v49
2024-02-28 14:36:32 +01:00
epenet
0cf5e9fb4a
Add type hints to integration tests (part 2) ( #87789 )
...
* Add type hints to integration tests (part 2)
* typo
* Improve analytics
* Improve automation
* Imrpove bluetooth
2023-02-10 16:05:26 +01:00
epenet
2545694d41
Add type hints to integration tests (a) ( #87684 )
...
* Add type hints to accuweather tests
* Adjust a** components
* Adjust aiohttp_client
* ClientSessionGenerator/WebSocketGenerator
2023-02-08 12:16:23 +01:00
Franck Nijhof
62dcbe5258
Enable Ruff PT001 ( #86730 )
2023-01-26 18:05:05 +01:00
Robert Svensson
332d3e0f19
Use fixtures to setup Axis integration in tests ( #86034 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-22 17:33:40 +01:00
Robert Svensson
768c3e163d
Create and use config_entry fixture for Axis integration tests ( #85865 )
2023-01-14 14:18:18 +02:00
Robert Svensson
534bb74069
Bump axis to v45 ( #84992 )
2023-01-02 18:14:14 +01:00
Robert Svensson
31ae121645
Add fixtures for Axis rtsp client and adapt tests to use them ( #47901 )
...
* Add a fixture for rtsp client and adapt tests to use it
* Better fixtures for RTSP events and signals
2021-04-09 10:56:53 +02:00
Robert Svensson
8e0addd216
Fix error with Axis light events without representation in light control ( #45277 )
2021-01-18 15:00:27 +01:00
Robert Svensson
6325bc8bfe
Follow Axis library changes and improve tests ( #44126 )
2021-01-13 14:03:54 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Robert Svensson
e54f4aa9ed
Improve Axis tests ( #42183 )
2020-10-22 09:29:53 +02:00
Robert Svensson
1303d20064
Adapt Axis integration to async HTTPx calls ( #42095 )
2020-10-20 09:31:04 +02:00
Robert Svensson
02e03340df
Light control support to Axis devices ( #36611 )
...
* IR light support to Axis devices
* Change how to read light state
* Add tests
* Bump dependency to v32
* Assert variables passed to set_intensity
2020-06-18 23:27:08 +02:00