Make environment variables without a value the same as docker-cli.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-02-22 17:47:51 -08:00
commit 9d7dbe3857
7 changed files with 28 additions and 12 deletions

View file

@ -909,7 +909,7 @@ class ServiceTest(DockerClientTestCase):
'FILE_DEF': 'F1',
'FILE_DEF_EMPTY': '',
'ENV_DEF': 'E3',
'NO_DEF': ''
'NO_DEF': None
}.items():
self.assertEqual(env[k], v)