Группа :: Документация
Пакет: python3-module-tldr
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: python3-module-tldr-3.2.0-alt.patch
Скачать
Скачать
tests/test_tldr.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/test_tldr.py b/tests/test_tldr.py
index b49c3ed..909c5c9 100644
--- a/tests/test_tldr.py
+++ b/tests/test_tldr.py
@@ -48,6 +48,10 @@ def test_markdown_mode(page_name):
assert tldr_output == d_original + b"\n"
+@pytest.mark.skipif(
+ os.environ.get("NO_INTERNET") is not None,
+ reason="Requires internet",
+)
def test_error_message():
with mock.patch("sys.argv", ["tldr", "73eb6f19cd6f"]):
with pytest.raises(SystemExit) as pytest_wrapped_e: