hosts/tests
phg 07e7e4f70f Add entry and delete entry functionality with modals in TUI application
- Implemented add_entry method in HostsManager for adding new entries.
- Created AddEntryModal for user input when adding entries.
- Implemented delete_entry method in HostsManager for removing entries.
- Created DeleteConfirmationModal for user confirmation before deletion.
- Integrated modals into HostsManagerApp for adding and deleting entries.
- Added search functionality with SearchModal for finding entries by hostname or IP address.
- Updated keybindings to include shortcuts for adding and deleting entries.
- Added HelpModal to provide keyboard shortcuts and usage information.
2025-08-14 19:47:09 +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_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_main.py Add entry and delete entry functionality with modals in TUI application 2025-08-14 19:47:09 +02:00
test_manager.py Improve error handling in entry edit mode and update sudo request tests for clarity and accuracy 2025-08-14 18:01:20 +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