1
0
Эх сурвалжийг харах

Merge pull request #2744 from aanand/pytest-ini

Add pytest.ini
Daniel Nephin 9 жил өмнө
parent
commit
859cc2348c
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  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