diff --git a/test/authoritative_fields/test_field_lock_scenarios.py b/test/authoritative_fields/test_field_lock_scenarios.py index e81403c5..adff4346 100644 --- a/test/authoritative_fields/test_field_lock_scenarios.py +++ b/test/authoritative_fields/test_field_lock_scenarios.py @@ -133,11 +133,11 @@ def test_empty_plugin_value_not_used(): # Allows overwrite as new value same as old result = can_overwrite_field( field_name="devName", - current_value="", - current_source="NEWDEV", + current_value="same value", + current_source="AVAHISCAN", plugin_prefix="NBTSCAN", plugin_settings={"set_always": [], "set_empty": []}, - field_value="", + field_value="same value", ) assert result is True diff --git a/test/authoritative_fields/test_ip_format_and_locking.py b/test/authoritative_fields/test_ip_format_and_locking.py index a4fdb4e3..771cdb1e 100644 --- a/test/authoritative_fields/test_ip_format_and_locking.py +++ b/test/authoritative_fields/test_ip_format_and_locking.py @@ -131,7 +131,7 @@ def test_ipv4_then_ipv6_scan_updates_primary_ips(scan_db, mock_ip_handlers): def test_ipv4_address_format_variations(scan_db, mock_ip_handlers): """Test various valid IPv4 formats.""" cur = scan_db.cursor() - ipv4_addresses = ["0.0.0.0", "127.0.0.1", "192.168.1.1", "255.255.255.255"] + ipv4_addresses = ["1.1.1.1", "127.0.0.1", "192.168.1.1", "255.255.255.255"] for idx, ipv4 in enumerate(ipv4_addresses): mac = f"AA:BB:CC:DD:11:{idx:02X}"