diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-16 16:19:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-16 16:19:56 +0000 |
commit | 95d9798e15d54270f73692b22b138b44f9defd7a (patch) | |
tree | 8c93ddf80dfb37dfd13253f8da4c69a023c4e95d /tests/unit/network_services/test_yang_model.py | |
parent | 4a5bc16d841221e8ac7853b3044e50af0c8143d2 (diff) | |
parent | c3d309865bb57e2aba2033d3bbe1c16adca4f0ba (diff) |
Merge "YAML fixes"
Diffstat (limited to 'tests/unit/network_services/test_yang_model.py')
-rw-r--r-- | tests/unit/network_services/test_yang_model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/network_services/test_yang_model.py b/tests/unit/network_services/test_yang_model.py index 28367f316..0b29da701 100644 --- a/tests/unit/network_services/test_yang_model.py +++ b/tests/unit/network_services/test_yang_model.py @@ -95,7 +95,7 @@ class YangModelTestCase(unittest.TestCase): y._get_entries() self.assertEqual(y._rules, '') - @mock.patch('yaml.safe_load') + @mock.patch('yardstick.network_services.yang_model.yaml_load') @mock.patch('yardstick.network_services.yang_model.open') def test__read_config(self, mock_open, mock_safe_load): cfg = "yang.yaml" |