Refactor DNS resolution tests to use AsyncMock and improve timeout handling

This commit is contained in:
Philip Henning 2025-08-18 18:32:33 +02:00
parent d7ca9cc87f
commit 8d99cfe53c
3 changed files with 50 additions and 27 deletions

View file

@ -421,7 +421,7 @@ class TestEntryFilter:
# Apply filters and check preset name is preserved
sample_entry = HostEntry("192.168.1.1", ["test.com"], "Test", True)
result = entry_filter.apply_filters([sample_entry], preset_options)
entry_filter.apply_filters([sample_entry], preset_options)
# The original preset name should be accessible
assert preset_options.preset_name == "Active Only"