Skip to content

Commit

Permalink
- Increase Test Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed May 15, 2018
1 parent f444712 commit 4c10a85
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 @@ -478,7 +478,7 @@ def stop_geoserver():
# we use docker-compose for integration tests
if integration_tests:
return

# only start if using Geoserver backend
if 'geonode.geoserver' not in INSTALLED_APPS or OGC_SERVER['default']['BACKEND'] == 'geonode.qgis_server':
return
Expand Down Expand Up @@ -873,7 +873,7 @@ def run_tests(options):
Executes the entire test suite.
"""
if options.get('coverage'):
prefix = 'coverage run --branch --source=geonode --omit="*/management/*,geonode/contrib/*,*/test*"'
prefix = 'coverage run --branch --source=geonode --omit="*/management/*,geonode/contrib/*,*/test*,*/wsgi*,*/middleware*"'
else:
prefix = 'python'
local = options.get('local', 'false') # travis uses default to false
Expand Down

0 comments on commit 4c10a85

Please sign in to comment.