compose/tests/unit
Andrey Devyatkin e3e8a619cc Fix #3281: Unexpected result when using build args with default values
Fix the issue when build arg is set to None instead of empty string.
Usecase:

cat docker-compose.yml
....
args:
- http_proxy
- https_proxy
- no_proxy

If http_proxy, https_proxy, no_proxy environment variables are not defined
then http_proxy, https_proxy, no_proxy build args will be set to string None which breaks all downloads

With this change build args will not passed to docker engine if they are equal to string None

Signed-off-by: Andrey Devyatkin <andrey.a.devyatkin@gmail.com>
2016-05-27 07:48:13 +02:00
..
cli Remove obsolete assert_hostname tests 2016-03-30 10:58:15 -07:00
config Eliminate duplicates when merging port mappings from config files 2016-05-20 15:28:35 -07:00
__init__.py Split tests into unit and integration 2014-04-25 22:58:21 +01:00
cli_test.py Updated StringIO import to support io module 2016-04-12 12:29:59 -04:00
container_test.py Merge pull request #2388 from dnephin/fix_long_lines 2016-02-25 16:52:33 -08:00
interpolation_test.py Environment class cleanup 2016-03-24 10:57:01 -07:00
parallel_test.py Properly handle APIError failures in Project.up 2016-05-02 13:42:05 -07:00
progress_stream_test.py Fixes #1490 2015-11-11 11:20:59 -08:00
project_test.py Prevent unnecessary inspection of containers when created from an inspect. 2016-04-06 11:14:42 -04:00
service_test.py Fix #3281: Unexpected result when using build args with default values 2016-05-27 07:48:13 +02:00
split_buffer_test.py Fix split buffer with inconsistently delimited json objects. 2015-10-06 10:43:07 -04:00
utils_test.py Update pre-commit config to enforace that future imports exist in all files. 2016-01-07 13:09:03 -05:00
volume_test.py Add an acceptance test and docs for the down subcommand 2016-01-14 11:11:08 -05:00