Skip to content

Commit 37e4586

Browse files
committed
Just one command in tox.ini
1 parent d869a7c commit 37e4586

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ deps=
1515
qt5reactor: pytest-xvfb
1616
qt5reactor: pyqt5
1717
win: pywin32
18+
setenv=
19+
defaultreactor: REACTOR = default
20+
qt5reactor: REACTOR = qt5reactor
21+
asyncioreactor: REACTOR = asyncio
1822
commands=
19-
defaultreactor: pytest --reactor=default
20-
qt5reactor: pytest --reactor=qt5reactor
21-
asyncioreactor: pytest --reactor=asyncio
23+
pytest --reactor={env:REACTOR}
2224
sitepackages=False
2325
download=true
2426

0 commit comments

Comments
 (0)