Refactor DNS resolution tests to use AsyncMock and improve timeout handling
This commit is contained in:
parent
d7ca9cc87f
commit
8d99cfe53c
3 changed files with 50 additions and 27 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue