mirror of https://github.com/docker/compose.git
Use new load_from_filename
Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
c51d53afba
commit
ba71e2a549
|
@ -480,7 +480,7 @@ class ExtendsTest(unittest.TestCase):
|
||||||
Test not specifying a file in our extends options that the
|
Test not specifying a file in our extends options that the
|
||||||
config is valid and correctly extends from itself.
|
config is valid and correctly extends from itself.
|
||||||
"""
|
"""
|
||||||
service_dicts = config.load('tests/fixtures/extends/no-file-specified.yml')
|
service_dicts = load_from_filename('tests/fixtures/extends/no-file-specified.yml')
|
||||||
self.assertEqual(service_dicts, [
|
self.assertEqual(service_dicts, [
|
||||||
{
|
{
|
||||||
'name': 'myweb',
|
'name': 'myweb',
|
||||||
|
|
Loading…
Reference in New Issue