summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/goamz/goamz/exp/sdb/sign_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/goamz/goamz/exp/sdb/sign_test.go')
-rw-r--r--vendor/github.com/goamz/goamz/exp/sdb/sign_test.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/vendor/github.com/goamz/goamz/exp/sdb/sign_test.go b/vendor/github.com/goamz/goamz/exp/sdb/sign_test.go
deleted file mode 100644
index f45ad15e1..000000000
--- a/vendor/github.com/goamz/goamz/exp/sdb/sign_test.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package sdb_test
-
-import (
- "github.com/goamz/goamz/aws"
- "github.com/goamz/goamz/exp/sdb"
- . "gopkg.in/check.v1"
-)
-
-// SimpleDB ReST authentication docs: http://goo.gl/CaY81
-
-var testAuth = aws.Auth{AccessKey: "access-key-id-s8eBOWuU", SecretKey: "secret-access-key-UkQjTLd9"}
-
-func (s *S) TestSignExampleDomainCreate(c *C) {
- method := "GET"
- params := map[string][]string{
- "Action": {"CreateDomain"},
- "DomainName": {"MyDomain"},
- "Timestamp": {"2011-08-20T07:23:57+12:00"},
- "Version": {"2009-04-15"},
- }
- headers := map[string][]string{
- "Host": {"sdb.amazonaws.com"},
- }
- sdb.Sign(testAuth, method, "", params, headers)
- expected := "ot2JaeeqMRJqgAqW67hkzUlffgxdOz4RykbrECB+tDU="
- c.Assert(params["Signature"], DeepEquals, []string{expected})
-}
-
-// Do a few test methods which takes combinations of params