fix planet test failure on older html2text

The test suite was failing on my laptop for some mysterious
reason. After investigation, it turns out I still had an older version
of html2text there which triggered a change in the output. We had that
covered in test_plugins, but not in test_main, so copy the excepted
failure fixture there as well.
parent 0f7bae32
......@@ -8,6 +8,7 @@ import json
import re
from click.testing import CliRunner
import html2text
import pytest
import xdg.BaseDirectory
......@@ -146,6 +147,7 @@ def test_missing_conf(tmpdir_factory, monkeypatch):
assert tmpdir.join('feed2exec.ini').check()
@pytest.mark.xfail(condition=html2text.__version__ < (2017, 10, 4), reason="older html2text output varies, install version 2017.10.4 or later") # noqa
def test_planet(tmpdir_factory, static_boundary, betamax_session): # noqa
"""test i18n feeds for double-encoding
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment