/
githubmirror
/
salt
Обзор
Документация
Войти
/
githubmirror
/
salt
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/pytests/unit/test_pytest_pass_fail.py
20 строк
397 B
Daniel A. Wozniak
Pyupgrade and drop six
06 июл 2021, 16:04
06 июл 2021, 16:04
d9b5065
Код
Авторство
О чём код?
""" tests.unit.test_pytest_pass_fail ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Some tests to make sure our pytest usage doesn't break regular pytest behviour """ import pytest @pytest.mark.xfail( strict=True, reason="This test should always fail. If it passes, we messed up pytest", ) def test_should_always_fail(): assert False def test_should_always_pass(): assert True