changeset 823:3a298b4963a7 0.6.x

0.6dev: Merged [900] from trunk.
author osimons
date Thu, 16 Sep 2010 10:52:17 +0000
parents 355731fc4bd9
children ae3b946b7704
files bitten/report/coverage.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/report/coverage.py
+++ b/bitten/report/coverage.py
@@ -189,7 +189,7 @@
                         and data.get('context').resource or None
         if resource and isinstance(resource, Resource) \
                     and resource.realm=='source' and data.get('file') \
-                    and not req.args.get('annotate'):
+                    and not req.args.get('annotate', '') == 'coverage':
             add_ctxtnav(req, 'Coverage',
                     title='Annotate file with test coverage '
                           'data (if available)',
Copyright (C) 2012-2017 Edgewall Software