Ver Fonte

Merge pull request #2744 from aanand/pytest-ini

Add pytest.ini
Daniel Nephin há 9 anos atrás
pai
commit
859cc2348c
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      tox.ini

+ 4 - 1
tox.ini

@@ -15,7 +15,7 @@ deps =
     -rrequirements.txt
     -rrequirements-dev.txt
 commands =
-    py.test -v -rxs \
+    py.test -v \
         --cov=compose \
         --cov-report html \
         --cov-report term \
@@ -47,3 +47,6 @@ max-line-length = 140
 # Set this high for now
 max-complexity = 12
 exclude = compose/packages
+
+[pytest]
+addopts = --tb=short -rxs