compose/tests
CJ 25ee3f0033 Remove extra s from --add-host
linting...
six.string_types
list-of-strings in examples
disallow extra_hosts support for list-of-dicts
A more thorough sets of tests for extra_hosts
Provide better examples
As per @aanand's [comment](https://github.com/docker/compose/pull/1158/files#r28326312)

  I think it'd be better to check `if not isinstance(extra_hosts_line,
  six.string_types)` and raise an error saying `extra_hosts_config must be
  either a list of strings or a string->string mapping`. We shouldn't need
  to do anything special with the list-of-dicts case.
order result to work with assert
use set() instead of sort()

Signed-off-by: CJ <lim@chernjie.com>
2015-04-24 09:21:29 +08:00
..
fixtures Interpret 'build:' as relative to the yml file 2015-03-31 18:47:26 -03:00
integration Remove extra s from --add-host 2015-04-24 09:21:29 +08:00
unit Merge pull request #1293 from mchasal/1224 2015-04-21 15:19:11 -04:00
__init__.py [pep8] flake8 run for everything, fix items from this change 2015-03-25 23:15:34 -07:00