Browse Source

bodge creates logs/ dir in .tox path, makes tests work but is the wrong way to do it

Gordonjcp 4 years ago
parent
commit
2b9fbee87f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tox.ini

+ 3 - 1
tox.ini

@@ -1,7 +1,8 @@
 [tox]
 skip_missing_interpreters = true
 envlist =
-    py{35,36,37,38},
+#    py{35,36,37,38},
+    py38,
     coverage
 
 [testenv]
@@ -15,6 +16,7 @@ setenv =
     PYTHONDONTWRITEBYTECODE=1
 passenv = TOXENV CI CODECOV_* SYSTEM_* AGENT_* BUILD_*
 commands =
+    mkdir -p .tox/py38/lib/python3.8/site-packages/logs
     pytest {toxinidir}/tests {toxinidir}/flaskbb {posargs}
 
 [testenv:coverage]