We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12b649d commit e54ce9eCopy full SHA for e54ce9e
newsfragments/2642.bugfix.rst
@@ -0,0 +1 @@
1
+Move ``flaky`` option to top-level conftest.py
tests/conftest.py
@@ -20,3 +20,7 @@ def address_conversion_func(request):
20
@pytest.fixture()
21
def open_port():
22
return get_open_port()
23
+
24
25
+def pytest_addoption(parser):
26
+ parser.addoption("--flaky", action="store_true")
tests/integration/conftest.py
@@ -21,10 +21,6 @@
# --- integration test configurations --- #
-def pytest_addoption(parser):
- parser.addoption("--flaky", action="store_true")
-
27
28
def pytest_collection_modifyitems(items, config):
29
"""
30
It is ideal to keep this configuration as simple as possible so that we don't
0 commit comments