'Test loading current directory secret overrides the parent.'

def test_secret_overrides_parent(self):

    expected = {'api_password': 'override'}
    load_yaml(os.path.join(self._sub_folder_path, yaml._SECRET_YAML), 'http_pw:    override')
    self._yaml = load_yaml(os.path.join(self._sub_folder_path, 'sub.yaml'), 'http:\n        api_password:    !secret    http_pw\ncomponent:\n        username:    !secret    comp1_un\n        password:    !secret    comp1_pw\n')
    self.assertEqual(expected, self._yaml['http'])
