diff --git a/test/authoritative_fields/test_field_lock_scan_integration.py b/test/authoritative_fields/test_field_lock_scan_integration.py index 09ce5237..c6749d03 100644 --- a/test/authoritative_fields/test_field_lock_scan_integration.py +++ b/test/authoritative_fields/test_field_lock_scan_integration.py @@ -717,6 +717,7 @@ def test_scan_updates_ip_addresses(scan_db, mock_device_handlers): # Run scan update device_handling.update_devices_data_from_scan(db) + device_handling.update_ipv4_ipv6(db) row = cur.execute( "SELECT devLastIP, devPrimaryIPv4, devPrimaryIPv6 FROM Devices WHERE devMac = ?", @@ -797,6 +798,7 @@ def test_scan_updates_ipv6_without_changing_ipv4(scan_db, mock_device_handlers): # Run scan update device_handling.update_devices_data_from_scan(db) + device_handling.update_ipv4_ipv6(db) row = cur.execute( "SELECT devPrimaryIPv4, devPrimaryIPv6 FROM Devices WHERE devMac = ?", @@ -849,6 +851,7 @@ def test_scan_updates_presence_status(scan_db, mock_device_handlers): # Run scan update device_handling.update_devices_data_from_scan(db) + device_handling.update_presence_from_CurrentScan(db) row = cur.execute( "SELECT devPresentLastScan FROM Devices WHERE devMac = ?", diff --git a/test/authoritative_fields/test_ip_update_logic.py b/test/authoritative_fields/test_ip_update_logic.py index 7c512902..5096534c 100644 --- a/test/authoritative_fields/test_ip_update_logic.py +++ b/test/authoritative_fields/test_ip_update_logic.py @@ -147,6 +147,7 @@ def test_primary_ipv6_is_set_and_ipv4_preserved(in_memory_db, mock_device_handli db.sql = cur device_handling.update_devices_data_from_scan(db) + device_handling.update_ipv4_ipv6(db) row = cur.execute( "SELECT devLastIP, devPrimaryIPv4, devPrimaryIPv6 FROM Devices WHERE devMac = ?", @@ -222,6 +223,7 @@ def test_primary_ipv4_is_set_and_ipv6_preserved(in_memory_db, mock_device_handli db.sql = cur device_handling.update_devices_data_from_scan(db) + device_handling.update_ipv4_ipv6(db) row = cur.execute( "SELECT devLastIP, devPrimaryIPv4, devPrimaryIPv6 FROM Devices WHERE devMac = ?",