changeset 822:172826bf87ac

Fix context menu 'coverage' linking. Closes #578. Thanks to simohe@... for report and patch.
author osimons
date Thu, 16 Sep 2010 10:49:53 +0000
parents 9041015ad056
children a4676056c8d3
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