'Test credstash fallback & get_password.'

@patch.object(yaml, 'credstash')
def test_secrets_credstash(self, mock_credstash):

    mock_credstash.getSecret.return_value = 'yeah'
    yaml_str = 'http:\n        api_password:    !secret    http_pw_credstash'
    _yaml = load_yaml(self._yaml_path, yaml_str)
    log = logging.getLogger()
    log.error(_yaml['http'])
    self.assertEqual({'api_password': 'yeah'}, _yaml['http'])
