]> git.phdru.name Git - m_librarian.git/commitdiff
Tests(tox): Use `%TEMP%` for sqlite on w32
authorOleg Broytman <phd@phdru.name>
Mon, 30 Aug 2021 05:56:13 +0000 (08:56 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 30 Aug 2021 06:20:22 +0000 (09:20 +0300)
tox.ini

diff --git a/tox.ini b/tox.ini
index eb7797c3076c6b82378025b01735ce4ca4e34023..14f1c19779a2bf09395d45ef0c5f048ef0ea588f 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -34,9 +34,9 @@ commands =
 platform = win32
 commands =
     {[testenv]commands}
-    -rm.py -f C:/projects/m-librarian/test.sqdb
-    pytest --cov=m_librarian -D sqlite:/C:/projects/m-librarian/test.sqdb?debug=1
-    rm.py -f C:/projects/m-librarian/test.sqdb
+    -rm.py -f {env:TEMP}/test.sqdb
+    pytest --cov=m_librarian -D sqlite:/{env:TEMP}/test.sqdb?debug=1
+    rm.py -f {env:TEMP}/test.sqdb
 
 # flake8
 [testenv:{py27,py34,py35,py36,py37,py38,py39}-flake8]