瀏覽代碼

Use new load_from_filename

Signed-off-by: Mazz Mosley <[email protected]>
Mazz Mosley 10 年之前
父節點
當前提交
ba71e2a549
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/unit/config_test.py

+ 1 - 1
tests/unit/config_test.py

@@ -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',