Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created March 13, 2014 02:50
Show Gist options
  • Select an option

  • Save dstufft/9521115 to your computer and use it in GitHub Desktop.

Select an option

Save dstufft/9521115 to your computer and use it in GitHub Desktop.
$ rm -rf .testrepository
.testrepository/0
.testrepository/format
.testrepository/next-stream
.testrepository/times.dbm
.testrepository
$ tox -e py26
GLOB sdist-make: /Users/dstufft/projects/barbican/setup.py
py26 inst-nodeps: /Users/dstufft/projects/barbican/.tox/dist/barbican-2014.1.dev1.gdbcc1d9.zip
py26 runtests: PYTHONHASHSEED='547984020'
py26 runtests: commands[0] | python setup.py testr --coverage
running testr
running=${PYTHON:-python} -m subunit.run discover -t . --list
running=${PYTHON:-python} -m subunit.run discover -t . --load-list /var/folders/94/79qhyrmd5y9f843ry4jnvy4w0000gn/T/tmpHkcw6V
running=${PYTHON:-python} -m subunit.run discover -t . --load-list /var/folders/94/79qhyrmd5y9f843ry4jnvy4w0000gn/T/tmpTWdG3g
running=${PYTHON:-python} -m subunit.run discover -t . --load-list /var/folders/94/79qhyrmd5y9f843ry4jnvy4w0000gn/T/tmpSHuTqA
running=${PYTHON:-python} -m subunit.run discover -t . --load-list /var/folders/94/79qhyrmd5y9f843ry4jnvy4w0000gn/T/tmpnKWmpG
running=${PYTHON:-python} -m subunit.run discover -t . --load-list /var/folders/94/79qhyrmd5y9f843ry4jnvy4w0000gn/T/tmpzumuCK
running=${PYTHON:-python} -m subunit.run discover -t . --load-list /var/folders/94/79qhyrmd5y9f843ry4jnvy4w0000gn/T/tmpzAgyh8
running=${PYTHON:-python} -m subunit.run discover -t . --load-list /var/folders/94/79qhyrmd5y9f843ry4jnvy4w0000gn/T/tmp6yTYHG
running=${PYTHON:-python} -m subunit.run discover -t . --load-list /var/folders/94/79qhyrmd5y9f843ry4jnvy4w0000gn/T/tmpZlnJ7b
No handlers could be found for logger "barbican.api"
No handlers could be found for logger "barbican.api"
No handlers could be found for logger "barbican.api"
No handlers could be found for logger "barbican.api.resources"
No handlers could be found for logger "barbican.api.resources"
No handlers could be found for logger "barbican.api"
No handlers could be found for logger "barbican.api"
No handlers could be found for logger "barbican.api"
db type could not be determined
error: testr failed (3)
ERROR: InvocationError: '/Users/dstufft/projects/barbican/.tox/py26/bin/python setup.py testr --coverage'
py26 runtests: commands[1] | coverage combine
py26 runtests: commands[2] | coverage report -m
Name Stmts Miss Branch BrMiss Cover Missing
--------------------------------------------------------------------------------------------------
barbican/__init__ 3 0 0 0 100%
barbican/api/__init__ 106 15 14 2 86% 93-94, 124-125, 132-134, 144-145, 154-156, 158-160, 162-164, 191
barbican/api/app 52 52 4 4 0% 16-97
barbican/api/middleware/__init__ 43 28 8 8 29% 39-41, 52, 56, 60-65, 77-90, 98-103
barbican/api/middleware/context 53 53 6 6 0% 18-152
barbican/api/middleware/simple 12 0 0 0 100%
barbican/api/resources 379 10 64 2 97% 41, 86, 92, 239, 295, 298-299, 455-456, 505
barbican/common/__init__ 1 0 0 0 100%
barbican/common/config 48 48 14 14 0% 16-93
barbican/common/exception 137 4 8 3 95% 29, 49, 193-194
barbican/common/resources 59 1 14 1 97% 127
barbican/common/utils 67 6 22 6 87% 44, 91-93, 96, 115, 119
barbican/common/validators 144 4 58 4 96% 220-221, 234, 264
barbican/common/verifications 6 1 2 1 75% 37
barbican/context 25 2 2 0 93% 77, 85
barbican/crypto/__init__ 1 0 0 0 100%
barbican/crypto/extension_manager 148 0 44 0 100%
barbican/crypto/mime_types 49 0 24 0 100%
barbican/crypto/p11_crypto 103 0 24 0 100%
barbican/crypto/plugin 72 0 6 0 100%
barbican/locale/__init__ 0 0 0 0 100%
barbican/model/__init__ 1 0 0 0 100%
barbican/model/migration/__init__ 0 0 0 0 100%
barbican/model/migration/alembic_migrations/__init__ 0 0 0 0 100%
barbican/model/migration/alembic_migrations/env 27 27 6 6 0% 1-84
barbican/model/migration/commands 30 17 8 8 34% 30-42, 47-49, 54-56, 61-63
barbican/model/models 233 46 42 19 76% 41, 46, 71-74, 78-84, 88, 92-93, 96, 99, 102-103, 106-107, 110, 113, 116, 119, 127, 129, 135, 194, 236-240, 284, 328, 369, 371, 420, 422, 471-472, 493-495, 500-501
barbican/model/repositories 402 290 69 63 25% 76-83, 91-92, 98-103, 112-152, 159-164, 171-175, 180-204, 243-244, 247-248, 254-273, 277-308, 316-331, 340, 345-355, 360, 366, 370, 377, 388-399, 409-444, 447-449, 457, 460, 464, 468-484, 499-543, 547, 550, 554-558, 568, 579, 582, 586, 590, 605-630, 634, 637, 641, 645, 653, 656, 660, 664, 687-714, 718, 721, 725, 732, 747-774, 778, 781, 785, 792, 807-834, 838, 841, 845, 852
barbican/queue/__init__ 34 14 2 2 56% 59, 64-65, 71-73, 77, 84-89, 96-97
barbican/queue/client 28 6 0 0 79% 62, 79-82, 87
barbican/queue/server 34 4 0 0 88% 49-50, 59-60
barbican/tasks/__init__ 1 0 0 0 100%
barbican/tasks/resources 87 4 0 0 95% 223-226
barbican/version 3 0 0 0 100%
--------------------------------------------------------------------------------------------------
TOTAL 2388 632 441 149 72%
______________________________________________ summary _______________________________________________
ERROR: py26: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment