[gnome-keysign: 5/11] tox: define pytest environments




commit 698d2aaab24b41248cae7e8703b8d22bb62885ec
Author: Tobias Mueller <muelli cryptobitch de>
Date:   Wed Sep 14 21:42:25 2022 +0200

    tox: define pytest environments
    
    I couldn't get it to run. It seems to require the app to be built as
    wheel which fails due to the appdata file not being present.
    I guess it's a bug somewhere, but so far, nobody complained.
    I also don't know whether it is a bug in the first place nor how to fix
    it.

 tox.ini | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tox.ini b/tox.ini
index c0ff54d..9d499de 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,17 +1,17 @@
 [tox]
 # I don't seem to be able to say "python 2" and "python 3", only.
 skip_missing_interpreters = true
-envlist = py26,py27,py32,py35,flake8
+envlist = py35,py36,py37,py38,py39,flake8
 
 #deps =
 #    -rrequirements.txt
 
 [testenv]
 deps =
-    nose
-    coverage
+    pytest
+    pytest_twisted
 
-commands=nosetests -v   --with-coverage --cover-html --cover-erase --cover-branch --cover-package=keysign  
--cover-min-percentage=75
+commands=pytest
 
 #install_command = pip install -U {opts} {packages}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]