httpie: 2.2.0 -> 2.4.0

This commit is contained in:
Sandro Jäckel
2021-02-08 17:56:26 +01:00
parent cb52887c38
commit a56bc4a996
2 changed files with 24 additions and 33 deletions
@@ -1,11 +1,11 @@
diff --git a/tests/test_docs.py b/tests/test_docs.py
index 7a41822..720ecf6 100644
index 340e64d..a6b4dc9 100644
--- a/tests/test_docs.py
+++ b/tests/test_docs.py
@@ -41,12 +41,10 @@ assert filenames
@@ -42,15 +42,10 @@ assert filenames
# HACK: hardcoded paths, venv should be irrelevant, etc.
# TODO: replaces the process with Python code
# TODO: simplify by using the Python API instead of a subprocess
# then we wontt need the paths.
-VENV_BIN = Path(__file__).parent.parent / 'venv/bin'
-VENV_PYTHON = VENV_BIN / 'python'
-VENV_RST2PSEUDOXML = VENV_BIN / 'rst2pseudoxml.py'
@@ -13,7 +13,10 @@ index 7a41822..720ecf6 100644
+VENV_RST2PSEUDOXML = 'rst2pseudoxml.py'
-@pytest.mark.skipif(not os.path.exists(VENV_RST2PSEUDOXML), reason='docutils not installed')
-@pytest.mark.skipif(
- not VENV_RST2PSEUDOXML.exists(),
- reason='docutils not installed',
-)
@pytest.mark.parametrize('filename', filenames)
def test_rst_file_syntax(filename):
p = subprocess.Popen(