/
githubmirror
/
salt
Обзор
Документация
Войти
/
githubmirror
/
salt
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/integration/modules/test_rabbitmq.py
21 строка
556 B
Pedro Algarvio
Update to isort 5.10.1
01 авг 2022, 21:49
01 авг 2022, 21:49
4d49013
Код
Авторство
О чём код?
import pytest from tests.support.case import ModuleCase @pytest.mark.requires_salt_modules("rabbitmq") @pytest.mark.windows_whitelisted @pytest.mark.skip_if_not_root class RabbitModuleTest(ModuleCase): """ Validates the rabbitmqctl functions. To run these tests, you will need to be able to access the rabbitmqctl commands. """ def test_user_exists(self): """ Find out whether a user exists. """ ret = self.run_function("rabbitmq.user_exists", ["null_user"]) self.assertEqual(ret, False)