FIX: lowercase MAC normalization across project v0.1

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2026-02-07 13:44:50 +11:00
parent 3734c43284
commit 946ad00253
22 changed files with 164 additions and 257 deletions

View File

@@ -132,7 +132,7 @@ def test_update_device_column(client, api_token, test_mac):
# Update its parent MAC
resp = client.post(
f"/device/{test_mac}/update-column",
json={"columnName": "devParentMAC", "columnValue": "Internet"},
json={"columnName": "devParentMAC", "columnValue": "internet"},
headers=auth_headers(api_token),
)
@@ -142,7 +142,7 @@ def test_update_device_column(client, api_token, test_mac):
# Try updating a non-existent device
resp_missing = client.post(
"/device/11:22:33:44:55:66/update-column",
json={"columnName": "devParentMAC", "columnValue": "Internet"},
json={"columnName": "devParentMAC", "columnValue": "internet"},
headers=auth_headers(api_token),
)