compose/tests/unit
Mazz Mosley 950577d60f Split validation into fields and service
We want to give feedback to the user as soon as possible about the
validity of the config supplied for the services.

When extending a service, we can validate that the fields are
correct against our schema but we must wait until the *end* of
the extends cycle once all of the extended dicts have been merged
into the service dict, to perform the final validation check on the
config to ensure it is a complete valid service.

Doing this before that had happened resulted in false reports of
invalid config, as common config when split out, by itself, is not
a valid service but *is* valid config to be included.

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-09-02 15:42:38 +01:00
..
cli Merge pull request #1924 from dnephin/python3_fix_for_logs 2015-08-27 14:19:42 +01:00
__init__.py Split tests into unit and integration 2014-04-25 22:58:21 +01:00
cli_test.py Allow setting a one-off container name 2015-08-26 13:33:03 -04:00
config_test.py Split validation into fields and service 2015-09-02 15:42:38 +01:00
container_test.py Remove flake8 ignores and wrap the longest lines to 140 char. 2015-08-26 12:53:11 -04:00
interpolation_test.py Run pre-commit on all files 2015-08-24 17:04:50 -04:00
multiplexer_test.py Make sure an exception in any iterator gets raised in the main thread 2015-07-29 19:42:33 +01:00
progress_stream_test.py Update unit tests for stream_output to match the behaviour of a docker-py response. 2015-08-25 10:48:48 -04:00
project_test.py Support python 3 2015-08-25 10:37:29 -04:00
service_test.py Resolves #1804 2015-08-27 18:05:21 -04:00
sort_service_test.py Run pre-commit on all files 2015-08-24 17:04:50 -04:00
split_buffer_test.py Fix log printing for python3 by converting everything to unicode. 2015-08-26 11:24:48 -04:00