Update tests/pytests/unit/modules/test_textfsm_mod.py

Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
Gareth J. Greenaway 2023-11-15 14:25:38 -08:00 committed by Pedro Algarvio
parent 05465fe898
commit 198395f263

View file

@ -482,7 +482,7 @@ juniper_version_template, .*, Juniper, sh[[ow]] ve[[rsion]]"""
{"cp.cache_dir": MagicMock(return_value="/path/to/cache/")},
):
with patch.object(
clitable, "open", mock_open(read_data=mock_open_index)
textfsm.clitable, "open", mock_open(read_data=mock_open_index)
):
with patch.dict(
textfsm_mod.__salt__,