Skip to content

Commit

Permalink
[Testing] Code Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Oct 21, 2019
1 parent 238b4cc commit 3c81043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,8 +958,8 @@ def run_tests(options):
"""
if options.get('coverage'):
prefix = 'coverage run --branch --source=geonode \
--omit="*/management/*,*/__init__*,*/views*,*/signals*,*/tasks*,*/test*,*/wsgi*,*/version*,\
*/middleware*,*/search_indexes*,*/migrations*,*/context_processors*,geonode/qgis_server/*"'
--omit="*/management/*,*/__init__*,*/test*,*/wsgi*,*/version*,\
*/search_indexes*,*/migrations*,*/context_processors*,*/qgis_server/*"'
else:
prefix = 'python'
local = options.get('local', 'false') # travis uses default to false
Expand Down

0 comments on commit 3c81043

Please sign in to comment.