Explorar o código

Merge pull request #2744 from aanand/pytest-ini

Add pytest.ini
Daniel Nephin %!s(int64=9) %!d(string=hai) anos
pai
achega
859cc2348c
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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