dotcloud/docker — pull request #3832 by jlhawn (2014-01-29 23:45:49+00:00)
Title: Prevent Tests from creating users on Prod Index

The integration tests had previously used the environment variable
DOCKER_INDEX_URL but it was apparently removed several months ago.

Changed Auth.IndexServerAddress() to return the official index url
only if DOCKER_INDEX_URL is not set in the environment.

Adjusted expected output in integration test.
Created unit test case for setting the environment variable.

closes #3831