Merge branch 'master' of git@github.com:jclouds/jclouds

* 'master' of git@github.com:jclouds/jclouds:
  Comment failing (new) tests
This commit is contained in:
Adrian Cole 2010-09-13 20:53:36 -07:00
commit d9820c536a
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@
(finally (.delete data-file)))))) (finally (.delete data-file))))))
;; this will fail until transient provider handles signing ;; this will fail until transient provider handles signing
#_
(deftest sing-put-blob-request-test (deftest sing-put-blob-request-test
(let [request (sign-put-blob-request "container" "path" "text/plain" 10)] (let [request (sign-put-blob-request "container" "path" "text/plain" 10)]
(is (= "PUT" (.getMethod request))) (is (= "PUT" (.getMethod request)))
@ -117,6 +118,7 @@
(is (= "text/plain" (get "Content-Type" (.getHeaders request)))))) (is (= "text/plain" (get "Content-Type" (.getHeaders request))))))
;; this will fail until transient provider handles signing ;; this will fail until transient provider handles signing
#_
(deftest sing-blob-request-test (deftest sing-blob-request-test
(let [request (sign-blob-request "container" "path" {:method :delete})] (let [request (sign-blob-request "container" "path" {:method :delete})]
(is (= "DELETE" (.getMethod request)))) (is (= "DELETE" (.getMethod request))))