浏览代码

Add reuse-db option to pytest

Colin Powell 1 年之前
父节点
当前提交
40504f83e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pyproject.toml

+ 1 - 1
pyproject.toml

@@ -68,7 +68,7 @@ bandit = "^1.7.4"
 
 [tool.pytest.ini_options]
 minversion = "6.0"
-addopts = "-ra -q"
+addopts = "-ra -q --reuse-db"
 testpaths = ["tests"]
 DJANGO_SETTINGS_MODULE='vrobbler.settings-testing'