Use new load_from_filename

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
Mazz Mosley 2015-07-03 14:05:14 +01:00
parent c51d53afba
commit ba71e2a549
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ class ExtendsTest(unittest.TestCase):
Test not specifying a file in our extends options that the
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, [
{
'name': 'myweb',