Migrate tests to tox rhbz#2019409
This commit is contained in:
parent
6370a52965
commit
f2e4b53fd3
2 changed files with 32 additions and 7 deletions
19
64.diff
Normal file
19
64.diff
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff --git a/tox.ini b/tox.ini
|
||||
new file mode 100644
|
||||
index 0000000..e781a62
|
||||
--- /dev/null
|
||||
+++ b/tox.ini
|
||||
@@ -0,0 +1,13 @@
|
||||
+# Tox (https://tox.readthedocs.io) is a tool for running tests
|
||||
+# in multiple virtualenvs. This configuration file will run the
|
||||
+# test suite on all supported Python versions. To use it,
|
||||
+# "python -m pip install tox" and then run "tox" from this directory.
|
||||
+
|
||||
+[tox]
|
||||
+envlist = py{27, 34, 35, 36, 37, 38, 39, 310, 311, py2, py3}
|
||||
+
|
||||
+[testenv]
|
||||
+deps =
|
||||
+ pytest
|
||||
+ requests
|
||||
+commands = {envpython} -b -m pytest -W always tests.py {posargs}
|
||||
Loading…
Add table
Add a link
Reference in a new issue