Mose Müller
c32b6a8694
tests: proper handling of event loops
...
Event loops have to be closed properly, otherwise pytest will throw a
warning / error. Disconnecting clients and closing the server is
important for that, as well as stopping tasks.
Additionally, I had to add loop_scope parameters to share the event loop
throughout modules which all use the same pydase.Server instance.
2025-05-20 15:25:58 +02:00
Mose Müller
e88965b69d
fixes device connection test
2024-09-13 16:09:39 +02:00
Mose Müller
75e355faf9
pytest: changes fixture scopes
2024-07-30 08:36:59 +02:00
Mose Müller
7e63f34c0a
pytest: using asyncio session scope to get rid of more warnings
2024-07-30 08:28:18 +02:00
Mose Müller
a1da332dba
pytest: configures logging through caplog fixture
2024-07-30 08:28:07 +02:00
Mose Müller
f8cae28128
fix tests: need to propagate logger when testing (due to pytest)
2024-07-11 19:49:55 +02:00
Mose Müller
003ee95272
replaces test_image test image url
2024-04-16 11:01:52 +02:00
Mose Müller
9cb667581a
removes exposed dump method (circular import apparently)
...
fixes test
2024-04-04 16:26:28 +02:00
Mose Müller
e56a6e0653
fixing tests
2024-03-27 17:13:40 +01:00
Mose Müller
57e7deb552
Serializer adds full_access_path to serialized object representation
2024-03-26 10:52:06 +01:00
Mose Müller
c7d452d7db
adds tests for Image component
2024-03-05 16:32:20 +01:00
Mose Müller
25139b3d4d
adds device connection test
2024-02-15 08:56:13 +01:00
Mose Müller
fab91f3221
updates number slider test file
2023-12-13 10:39:26 +01:00
Mose Müller
c0c8591fc4
updates number slider component
2023-12-11 17:46:08 +01:00
Mose Müller
6d23151d32
updates tests
2023-12-11 09:22:38 +01:00
Mose Müller
c891642bda
updates tests
2023-12-04 13:36:16 +01:00
Mose Müller
a04bd14e50
fix number slider test
2023-11-28 14:58:53 +01:00
Mose Müller
f88493d97c
fix: removes monkey path of emit_notification, adapts affected tests
2023-11-06 13:46:08 +01:00
Mose Müller
c6a96ba6c0
update tests
2023-10-16 15:52:04 +02:00
Mose Müller
a9db7848f7
fix: pytest failed after moving from StrEnum to Enum
2023-10-11 14:03:07 +02:00
Mose Müller
bbcba8b39f
test: adding test for ColouredEnum component
2023-10-11 14:03:07 +02:00
Mose Müller
b8706f661b
tests: adding component tests (NumberSlider)
2023-08-09 11:21:20 +02:00