feat: paste an existing agent key and show the last signed-in user in descriptions

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-27 09:04:26 +01:00
1 parent b1ac0689dc
commit 96d40b2005
3 files changed
+34 -7

No files matched your search

+1 -1
View File
@@ -285,7 +285,7 @@ def test_new_client_gets_an_asset_linked_to_the_device():
device = nb.dcim.devices.records[0]
asset = assets.created[0]
assert asset["serial"] == "PW0K84A9" and asset["device"] == device.id and asset["status"] == "used"
assert asset["device_type"] == device.device_type and asset["description"] == "Windows-Client; UUID 4C4C-1234"
assert asset["device_type"] == device.device_type and asset["description"] == "Windows-Client; UUID 4C4C-1234; Zuletzt angemeldet: FIRMA\max"
assert "| 7-Zip | 24 | |" in asset["comments"]
again = ClientSyncEngine(nb)