compose/tests/unit
Mazz Mosley 8a6061bfb9 __init__ takes service name and dict
Moving service name and dict out of the function make_service_dict
and into __init__. We always call make_service_dict with those so
let's put them in the initialiser. Slightly cleaner design intent.

The whole purpose of the ServiceLoader is to take a
service name&service dictionary then validate, process and return
service dictionaries ready to be created.

This is also another step towards cleaning the code up so we can
interpolate and validate an extended dictionary.

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 __init__ takes service name and dict 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