File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ example = [
104104 " protobuf~=6.0" ,
105105 " pydantic~=2.0" ,
106106 " pytest-cov~=7.0" ,
107+ " pytest-rerunfailures~=16.0" ,
107108 " pytest~=9.0" ,
108109 " testcontainers~=4.0" ,
109110 " uvicorn[standard]~=0.0" ,
@@ -134,6 +135,7 @@ example-v2 = [
134135 " fastapi~=0.0" ,
135136 " flask[async]~=3.0" ,
136137 " pytest-cov~=7.0" ,
138+ " pytest-rerunfailures~=16.0" ,
137139 " pytest~=9.0" ,
138140 " testcontainers~=4.0" ,
139141 " uvicorn[standard]~=0.0" ,
@@ -143,6 +145,7 @@ test-v2 = [
143145 " httpx~=0.0" ,
144146 " mock~=5.0" ,
145147 " pytest-cov~=7.0" ,
148+ " pytest-rerunfailures~=16.0" ,
146149 " pytest~=9.0" ,
147150 " uvicorn[standard]~=0.0" ,
148151]
@@ -290,6 +293,9 @@ addopts = [
290293 " --cov-config=pyproject.toml" ,
291294 " --cov-report=xml" ,
292295 " --cov=pact" ,
296+ # Reruns
297+ " --reruns=5" ,
298+ " --rerun-except=AssertionError" ,
293299]
294300
295301asyncio_default_fixture_loop_scope = " session"
You can’t perform that action at this time.
0 commit comments