hosts/tests
phg 7872991e0b Refactor test cases for improved readability and consistency
- Updated test_dns.py to enhance mock function definitions and improve spacing for better readability.
- Modified test_filters.py to streamline assertions and ensure consistent formatting across test cases.
- Cleaned up test_import_export.py by organizing imports and ensuring consistent formatting in CSV and JSON tests.
- Improved test_main.py by refining mock setups and ensuring consistent error handling in assertions.
2026-09-03 12:47:11 +02:00
..
__init__.py Add unit tests for HostEntry and HostsFile models, and implement HostsParser tests 2025-07-29 14:52:31 +02:00
test_add_entry_modal.py Refactor test cases for improved readability and consistency 2026-09-03 12:47:11 +02:00
test_commands.py Refactor test cases for improved readability and consistency 2026-09-03 12:47:11 +02:00
test_config.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00
test_config_modal.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00
test_dns.py Refactor test cases for improved readability and consistency 2026-09-03 12:47:11 +02:00
test_filters.py Refactor test cases for improved readability and consistency 2026-09-03 12:47:11 +02:00
test_import_export.py Refactor test cases for improved readability and consistency 2026-09-03 12:47:11 +02:00
test_main.py Refactor test cases for improved readability and consistency 2026-09-03 12:47:11 +02:00
test_manager.py Enhance entry addition process: implement immediate file save after adding an entry and handle save failure by removing the entry for improved reliability. 2025-08-17 19:26:30 +02:00
test_models.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00
test_parser.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00
test_save_confirmation_modal.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00