This commit is contained in:
Andrey Smirnov
2015-02-22 14:29:09 +03:00
parent 79292dc6c8
commit 903d4cefba
28 changed files with 90 additions and 90 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"io/ioutil"
"os"
. "gopkg.in/check.v1"
. "gopkg.in/check.v1"
)
type ChecksumSuite struct {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"io/ioutil"
"os"
. "gopkg.in/check.v1"
. "gopkg.in/check.v1"
)
type CompressSuite struct {
+4 -4
View File
@@ -4,7 +4,7 @@ import (
"os"
"path/filepath"
. "gopkg.in/check.v1"
. "gopkg.in/check.v1"
)
type ConfigSuite struct {
@@ -30,11 +30,11 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
s.config.RootDir = "/tmp/aptly"
s.config.DownloadConcurrency = 5
s.config.S3PublishRoots = map[string]S3PublishRoot{"test": S3PublishRoot{
s.config.S3PublishRoots = map[string]S3PublishRoot{"test": {
Region: "us-east-1",
Bucket: "repo"}}
s.config.SwiftPublishRoots = map[string]SwiftPublishRoot{"test": SwiftPublishRoot{
s.config.SwiftPublishRoots = map[string]SwiftPublishRoot{"test": {
Container: "repo"}}
err := SaveConfig(configname, &s.config)
@@ -75,7 +75,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
" \"plusWorkaround\": false\n"+
" }\n"+
" },\n"+
" \"SwiftPublishEndpoints\": {\n" +
" \"SwiftPublishEndpoints\": {\n"+
" \"test\": {\n"+
" \"osname\": \"\",\n"+
" \"password\": \"\",\n"+
+1 -1
View File
@@ -1,7 +1,7 @@
package utils
import (
. "gopkg.in/check.v1"
. "gopkg.in/check.v1"
)
type HumanSuite struct{}
+1 -1
View File
@@ -1,7 +1,7 @@
package utils
import (
. "gopkg.in/check.v1"
. "gopkg.in/check.v1"
)
type ListSuite struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package utils
import (
"testing"
. "gopkg.in/check.v1"
. "gopkg.in/check.v1"
)
// Launch gocheck tests