/
githubmirror
/
salt
Обзор
Документация
Войти
/
githubmirror
/
salt
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/pytests/unit/executors/test_splay.py
14 строк
351 B
MKLeb
move executors tests to pytest
19 сен 2022, 22:08
19 сен 2022, 22:08
4f70720
Код
Авторство
О чём код?
import pytest import salt.executors.splay as splay_exec @pytest.fixture def configure_loader_modules(): return {splay_exec: {"__grains__": {"id": "foo"}}} def test__get_hash(): # We just want to make sure that this function does not result in an # error due to passing a unicode value to bytearray() assert splay_exec._get_hash()