/
githubmirror
/
salt
Обзор
Документация
Войти
/
githubmirror
/
salt
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/pytests/functional/formulas/test_vim.py
34 строки
791 B
Pedro Algarvio
Merge 3007.x into master
15 май 2024, 17:30
Не верифицирован
15 май 2024, 17:30
06bd9d1
Код
Авторство
О чём код?
""" Tests using vim formula """ import types import pytest pytestmark = [ pytest.mark.skip_on_windows, pytest.mark.destructive_test, pytest.mark.timeout_unless_on_windows(240), pytest.mark.skipif( 'grains["oscodename"] == "Photon"', reason="vim package not available for this distribution", ), pytest.mark.skipif( 'grains["os_family"] == "Suse"', reason="Zypperpkg module removed as a part of great module migration", ), ] @pytest.fixture(scope="module") def formula(): return types.SimpleNamespace(name="vim-formula", tag="0.15.5") def test_vim_formula(modules): ret = modules.state.sls("vim") assert not ret.errors assert ret.failed is False for staterun in ret: assert staterun.result is True