summaryrefslogtreecommitdiff
path: root/testing/test_config.py
diff options
context:
space:
mode:
authorGleb Nikonorov <gleb.i.nikonorov@gmail.com>2020-06-13 11:22:18 -0400
committerGleb Nikonorov <gleb.i.nikonorov@gmail.com>2020-06-13 11:22:18 -0400
commit320625527a1372395f1117e635278050532cbbfe (patch)
treea0bf4c0dc6e65b4e052789c3507cffa54bb5dd4e /testing/test_config.py
parent8a022c0ce3c76176961e07137100bee4d07f7572 (diff)
downloadpytest-320625527a1372395f1117e635278050532cbbfe.tar.gz
Add more tests and docs
Diffstat (limited to 'testing/test_config.py')
-rw-r--r--testing/test_config.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/test_config.py b/testing/test_config.py
index f8c1c879e..d59d641f6 100644
--- a/testing/test_config.py
+++ b/testing/test_config.py
@@ -265,31 +265,31 @@ class TestParseIni:
(
"""
[pytest]
- required_plugins = pytest-xdist~=1.32.0 pytest-xdist==1.32.0 pytest-xdist!=0.0.1 pytest-xdist<=99.99.0
- pytest-xdist>=1.32.0 pytest-xdist<9.9.9 pytest-xdist>1.30.0 pytest-xdist===1.32.0
+ required_plugins = pytest-xdist>1.0.0,<2.0.0
""",
"",
),
(
"""
[pytest]
- required_plugins = pytest-xdist>9.9.9 pytest-xdist==1.32.0 pytest-xdist==8.8.8
+ required_plugins = pytest-xdist~=1.32.0 pytest-xdist==1.32.0 pytest-xdist!=0.0.1 pytest-xdist<=99.99.0
+ pytest-xdist>=1.32.0 pytest-xdist<9.9.9 pytest-xdist>1.30.0 pytest-xdist===1.32.0
""",
- "Missing required plugins: pytest-xdist==8.8.8, pytest-xdist>9.9.9",
+ "",
),
(
"""
[pytest]
- required_plugins = pytest-xdist==aegsrgrsgs
+ required_plugins = pytest-xdist>9.9.9 pytest-xdist==1.32.0 pytest-xdist==8.8.8
""",
- "Missing required plugins: pytest-xdist==aegsrgrsgs",
+ "Missing required plugins: pytest-xdist==8.8.8, pytest-xdist>9.9.9",
),
(
"""
[pytest]
- required_plugins = pytest-xdist==-1
+ required_plugins = pytest-xdist==aegsrgrsgs pytest-xdist==-1 pytest-xdist>2.1.1,>3.0.0
""",
- "Missing required plugins: pytest-xdist==-1",
+ "Missing required plugins: pytest-xdist==-1, pytest-xdist==aegsrgrsgs, pytest-xdist>2.1.1,>3.0.0",
),
(
"""