mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-27 07:27:28 +00:00
test: add xUnit unit tests for core library
144 tests covering authentication (version parsing, session expiry, token format validation), model deserialization from real PVE 8.x/9.x API JSON fixtures, and service layer behavior. Includes TestHelper with mock HttpMessageHandler factory and 21 JSON fixture files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"data":[{"node":"pve1","status":"online","maxcpu":16,"maxmem":68719476736,"mem":17179869184,"uptime":864000,"pveversion":"pve-manager/9.1-1/abcdef12","kversion":"6.8.12-5-pve","loadavg":["0.45","0.32","0.28"]},{"node":"pve2","status":"online","maxcpu":8,"maxmem":34359738368,"mem":8589934592,"uptime":432000,"pveversion":"pve-manager/9.1-1/abcdef12","kversion":"6.8.12-5-pve","loadavg":["0.12","0.08","0.06"]}]}
|
||||
Reference in New Issue
Block a user