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
0625832457
tests: adds tests for socketio clients
2025-01-20 09:16:32 +01:00
9b2d181f4a
refactor(logging): update header priority for client identification
...
Changed the priority of headers for client identification in logs:
Now prioritizing the 'Remote-User' header over the 'X-Client-ID' header.
2025-01-20 07:32:54 +01:00
1d8d17d715
tests: adds tests for restapi client logs
2025-01-20 06:18:05 +01:00
a1ac0c2f88
tests: adds tests for trigger_method http endpoint
2024-12-02 13:53:25 +01:00
d45d2dba7d
updates api tests
2024-07-30 10:15:34 +02:00
75e355faf9
pytest: changes fixture scopes
2024-07-30 08:36:59 +02:00
f91be30ad0
adds tests for http api endpoints
2024-07-30 08:28:37 +02:00
d792601663
removes out-dated tests
2024-04-08 10:23:24 +02:00
857b81d213
updates tests
2024-03-11 15:37:56 +01:00
9e77bae5e7
renaming config option from generate_new_web_settings to generate_web_settings
2024-01-08 16:49:36 +01:00
6a6d1b27aa
updates sio_setup tests (removes mock objects)
2024-01-08 16:35:32 +01:00
2d3e7d8c1b
adds web_server tests
2024-01-08 16:32:36 +01:00
ea158bf8de
adds sio_setup tests
2024-01-08 15:11:03 +01:00