       (fact "missing vmid"
             (vconstruct (assoc-in redis-prox-spec [:proxmox :vmid] nil)) => 
             (throws ExceptionInfo (with-m? {:machine {:vmid '("vmid must be present")}} ))))
-    (fact "non int vmid"
+      (fact "non int vmid"
           (vconstruct (assoc-in redis-prox-spec [:proxmox :vmid] "string")) => 
           (throws ExceptionInfo (with-m? {:machine {:vmid '("vmid must be a number")}})))
     (with-redefs [ct-id (fn [_] 101)]

        (fact "vzctl usage"
              (enable-features ct) => '()
              (provided 
                (vzctl ct "set 101 --features \"nfs:on\" --save") => nil :times 1)))))) 

(with-conf
  (let [headers {"Cookie" "PVEAuthCookie=" "CSRFPreventionToken" "foobar"}]

    [celestial.model :only (vconstruct)]
    [proxmox.generators :only (ct-id)]
    [proxmox.auth :only (fetch-headers auth-headers auth-store auth-expired?)]
    )
  (:import clojure.lang.ExceptionInfo))

(with-conf
