浏览代码

tox.ini: Don't repeat dependencies

by using substitutions from other sections.
Marc Abramowitz 10 年之前
父节点
当前提交
0e8968420d
共有 1 个文件被更改,包括 2 次插入7 次删除
  1. 2 7
      tox.ini

+ 2 - 7
tox.ini

@@ -15,8 +15,7 @@ basepython =
 commands =
     python setup.py nosetests --with-xunit --with-xcoverage --cover-package=supervisor --cover-erase
 deps =
-    meld3 >= 1.0.0
-    mock >= 0.5.0
+    {[testenv]deps}
     nose
     coverage
     nosexcover
@@ -27,8 +26,4 @@ basepython =
 commands =
     python setup.py nosetests --with-xunit --with-xcoverage --cover-package=supervisor --cover-erase
 deps =
-    meld3 >= 1.0.0
-    mock >= 0.5.0
-    nose
-    coverage
-    nosexcover
+    {[testenv:cover]deps}