/
githubmirror
/
salt
Обзор
Документация
Войти
/
githubmirror
/
salt
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/pytests/integration/modules/test_idem.py
21 строка
480 B
Pedro Algarvio
Update pre-commit hook versions
29 фев 2024, 15:30
Не верифицирован
29 фев 2024, 15:30
f454911
Код
Авторство
О чём код?
""" Integration tests for the idem execution module """ from contextlib import contextmanager import pytest import salt.utils.idem as idem import salt.utils.path pytestmark = [ pytest.mark.skipif(not idem.HAS_POP[0], reason=idem.HAS_POP[1]), ] @pytest.mark.skipif(not salt.utils.path.which("idem"), reason="idem is not installed") @contextmanager def test_exec(salt_call_cli): ret = salt_call_cli.run("--local", "idem.exec", "test.ping") assert ret.data is True