浏览代码

save test output in tests/out

Nick Sweeting 5 年之前
父节点
当前提交
e17c30ed2b
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      .gitignore
  2. 1 1
      bin/test.sh

+ 1 - 0
.gitignore

@@ -3,6 +3,7 @@
 *.pyc
 __pycache__/
 .mypy_cache/
+tests/out/
 
 # Python and Node dependencies
 venv/

+ 1 - 1
bin/test.sh

@@ -14,4 +14,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )"
 
 source "$DIR/.venv/bin/activate"
 
-pytest -s
+pytest -s --basetemp=tests/out