1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-10-18 00:50:07 +00:00

fix(tests): decouple tests from local libvirt, support configurable test host, and fix URL/logging bugs

This commit is contained in:
catborise 2026-09-25 11:51:45 +03:00
parent c31ed28042
commit 60565b05b3
6 changed files with 153 additions and 130 deletions

View file

@ -140,7 +140,7 @@ def network(request, compute_id, pool):
xml = conn._XMLDesc(0)
except libvirtError as lib_err:
messages.error(request, lib_err)
return HttpResponseRedirect(reverse("networks", args=compute_id))
return HttpResponseRedirect(reverse("networks", args=[compute_id]))
if request.method == "POST":
if "start" in request.POST: