mirror of https://github.com/docker/compose.git
254bc4908c
This refactoring allows us to raise an error when there is no 'file' key specified in the .yml and no self.filename set. This error was specific to the tests, as the tests are the only place that constructs service dicts without sometimes setting a filename. Moving the function within the class as well as it is code that is exclusively for the use of validating properties for the ServiceLoader class. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com> |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
unit | ||
__init__.py |