Dispatcharr/tests
SergeantPanda 53fa1e42a0 enhancement(tests): introduce isolated backend test settings and improve test documentation
- Added `dispatcharr.settings_test` for isolated testing, automatically creating an empty PostgreSQL test database and ensuring transaction isolation during tests.
- Updated `manage.py` to switch to the test settings when running tests.
- Enhanced the CONTRIBUTING.md file with detailed instructions on running the backend test suite and handling Celery tasks in tests.
- Refactored test cases to use static methods for `worker_id` in `test_process_label.py` and adjusted assertions in `test_user_preferences.py` for better clarity and correctness.
2026-06-23 20:54:12 -05:00
..
__init__.py Fix modular mode deployment issues (#1045) 2026-03-03 17:18:16 -06:00
test_celery_plugin_discovery.py fix: Update plugin discovery comments and improve weakref handling in tests. Update changelog. 2026-05-13 17:02:34 -05:00
test_custom_properties_as_dict.py fix(m3u): enhance custom properties handling and DB connection management 2026-06-18 14:59:09 -05:00
test_geventpool_conn_lifetime.py feat(settings): add DATABASE_POOL_CONN_MAX_LIFETIME for connection management and update database engine path (Fixes #1343) 2026-06-12 11:31:09 -05:00
test_log_system_event.py fix(proxy): enhance connection management and event handling during streaming operations 2026-06-15 17:14:48 -05:00
test_process_label.py enhancement(tests): introduce isolated backend test settings and improve test documentation 2026-06-23 20:54:12 -05:00
test_user_preferences.py enhancement(tests): introduce isolated backend test settings and improve test documentation 2026-06-23 20:54:12 -05:00
test_wait_for_redis.py Move test_wait_for_redis.py call 2026-03-10 11:17:41 -05:00
test_websocket_utils.py refactor(epg): replace synchronous WebSocket send function with unified send_epg_update 2026-06-05 10:42:39 -05:00