Skip login tests because of external dependency to a hosted service.

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
Solomon Hykes 2014-04-03 21:55:33 +00:00
Родитель 9e29d65aad
Коммит 887eeb2b02
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -16,6 +16,7 @@ import (
// - Integration tests should have side-effects limited to the host environment being tested.
func TestLogin(t *testing.T) {
t.Skip("FIXME: please remove dependency on external services")
os.Setenv("DOCKER_INDEX_URL", "https://indexstaging-docker.dotcloud.com")
defer os.Setenv("DOCKER_INDEX_URL", "")
authConfig := &registry.AuthConfig{
@ -34,6 +35,7 @@ func TestLogin(t *testing.T) {
}
func TestCreateAccount(t *testing.T) {
t.Skip("FIXME: please remove dependency on external services")
tokenBuffer := make([]byte, 16)
_, err := rand.Read(tokenBuffer)
if err != nil {