compose/tests/unit
Mazz Mosley ece6a72712 Clean error.message
Unfortunately the way that jsonschema is calling %r on its property
and then encoding the complete message means I've had to do this
manual way of removing the literal string prefix, u'.

eg:

key = 'extends'
message = "Invalid value for %r" % key
error.message = message.encode("utf-8")"

results in:

"Invalid value for u'extends'"

Performing a replace to strip out the extra "u'", does not change the
encoding of the string, it is at this point the character u followed
by a '.

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-08-11 12:01:27 +01:00
..
cli [pep8] make test files and config files pep8 valid 2015-03-25 20:20:38 -07:00
__init__.py Split tests into unit and integration 2014-04-25 22:58:21 +01:00
cli_test.py Remove logging test 2015-07-21 15:56:37 +01:00
config_test.py Clean error.message 2015-08-11 12:01:27 +01:00
container_test.py Use 'top' instead of 'sleep' as a dummy command 2015-05-21 16:24:29 +01:00
interpolation_test.py Interpolate environment variables 2015-08-06 11:18:57 +01:00
log_printer_test.py WIP: rename Fig to Compose 2015-01-20 21:00:23 +00: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 Possible division by zero error when pulling an image - fixes #1463 2015-05-26 15:34:34 -07:00
project_test.py Minor test refactor 2015-07-13 14:11:12 +01:00
service_test.py Replace service tests with config tests 2015-08-07 12:06:34 +01:00
sort_service_test.py Make volumes_from and net containers first class dependencies and 2015-03-06 13:30:56 -08:00
split_buffer_test.py [pep8] make test files and config files pep8 valid 2015-03-25 20:20:38 -07:00