Преглед изворни кода

Increase nose verbosity to try and get around timeout issues on Azure

Enis Afgan пре 7 година
родитељ
комит
4015be73ea
2 измењених фајлова са 5 додато и 2 уклоњено
  1. 4 1
      setup.cfg
  2. 1 1
      tox.ini

+ 4 - 1
setup.cfg

@@ -10,9 +10,12 @@ cover-branches=1
 cover-package=cloudbridge
 processes=5
 process-timeout=3000
-match=^[Tt]est 
+match=^[Tt]est
+verbosity=2
 # Don't capture stdout - print immediately
 nocapture=1
+# When exceptions occur, filter only cloudbridge logs
+logging-filter=cloudbridge
 
 [bdist_wheel]
 universal = 1

+ 1 - 1
tox.ini

@@ -17,7 +17,7 @@ envlist = {py27,py36,pypy}-{aws,azure,openstack}
 [testenv]
 commands = flake8 cloudbridge test setup.py
            # see setup.cfg for options sent to nosetests and coverage
-           {envpython} setup.py nosetests -s --logging-filter=cloudbridge --logging-format='%(asctime)s [%(levelname)s] %(name)s: %(message)s' {posargs}
+           nosetests --logging-format='%(asctime)s [%(levelname)s] %(name)s: %(message)s' {posargs}
 setenv =
     MOTO_AMIS_PATH=./test/fixtures/custom_amis.json
     aws: CB_TEST_PROVIDER=aws