compose/tests/unit
Mazz Mosley f4cd5b1d45 Handle windows volume paths
When a relative path is expanded and we're on a windows platform,
it expands to include the drive, eg C:\ , which was causing a ConfigError
as we split on ":" in parse_volume_spec and that was giving too many parts.

Use os.path.splitdrive instead of manually calculating the drive.

This should help us deal with windows drives as part of the volume
path better than us doing it manually.

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-10-01 16:06:57 +01:00
..
cli Fix warning message when a container uses a non-json log driver 2015-09-11 12:54:27 -04:00
config Handle windows volume paths 2015-10-01 16:06:57 +01:00
__init__.py Split tests into unit and integration 2014-04-25 22:58:21 +01:00
cli_test.py Disable some tests in windows for now. 2015-09-23 10:42:57 -04:00
container_test.py Use custom container name in logs. Fixes #1851 2015-09-07 14:03:00 +01: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 Refactor network_mode logic out of Service. 2015-09-03 13:02:46 -04:00
service_test.py Handle windows volume paths 2015-10-01 16:06:57 +01: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