Explain why these tests are being skipped

pytest output before this change:

    SKIPPED [3] tests/__init__.py:217: condition: True
    SKIPPED [1] tests/checker/test_news.py:63: condition: True
    SKIPPED [1] tests/checker/test_news.py:41: condition: True
    SKIPPED [1] tests/checker/test_news.py:116: condition: True
    SKIPPED [1] tests/checker/test_news.py:75: condition: True

After:

    SKIPPED [3] tests/__init__.py: disabled for now until some stable news server comes up
    SKIPPED [4] tests/checker/test_news.py: disabled for now until some stable news server comes up
This commit is contained in:
Marius Gedminas 2019-10-23 17:35:31 +03:00
parent f46151dbf8
commit 606ece0308

View file

@ -31,7 +31,7 @@ NNTP_INFO = u"200 news.uni-stuttgart.de InterNetNews NNRP server " \
NNTP_TIMEOUT_SECS = 30
# disabled for now until some stable news server comes up
@pytest.mark.skipif("True")
@pytest.mark.skip(reason="disabled for now until some stable news server comes up")
class TestNews (LinkCheckTest):
"""Test nntp: and news: link checking."""