Skip to content

Instantly share code, notes, and snippets.

@brunsgaard
Created October 16, 2014 06:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunsgaard/bb435b9560942935f66a to your computer and use it in GitHub Desktop.
Save brunsgaard/bb435b9560942935f66a to your computer and use it in GitHub Desktop.
(ocmg)brunsgaard@archbook ~/o/httppost> py.test --cov-report term-missing --cov ocmg_httppost tests
=========================================== test session starts ===========================================
platform darwin -- Python 2.7.6 -- py-1.4.25 -- pytest-2.6.3
plugins: cov, flask
collected 37 items
tests/test_app.py ...
tests/test_schema.py .................
tests/test_utils.py .............
tests/api/test_factory.py ...
tests/ext/test_flask_security.py .
----------------------------- coverage: platform darwin, python 2.7.6-final-0 -----------------------------
Name Stmts Miss Cover Missing
----------------------------------------------------------------
ocmg_httppost/__init__ 1 0 100%
ocmg_httppost/api/__init__ 47 11 77% 27, 32-33, 52-77, 81-82
ocmg_httppost/api/v2 72 10 86% 47, 90, 97-107
ocmg_httppost/core 15 6 60% 14-18, 21
ocmg_httppost/exceptions 3 0 100%
ocmg_httppost/ext/__init__ 0 0 100%
ocmg_httppost/ext/flask_ocmgrpc 28 0 100%
ocmg_httppost/ext/flask_redis 69 16 77% 13, 39, 49-60, 66-69, 80, 87-89
ocmg_httppost/ext/flask_security 43 18 58% 14, 21-30, 33-40, 43-46, 57, 63
ocmg_httppost/factory 22 0 100%
ocmg_httppost/helpers 14 0 100%
ocmg_httppost/rpc 111 50 55% 18, 36, 47, 60-73, 88-114, 124-127, 130-133, 169-174, 187-192, 203
ocmg_httppost/schema 48 0 100%
ocmg_httppost/utils 81 3 96% 223-224, 230
ocmg_httppost/wsgi 2 0 100%
----------------------------------------------------------------
TOTAL 556 114 79%
======================================== 37 passed in 0.63 seconds ========================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment