Skip to content

Commit 9d7bef1

Browse files
authored
Merge pull request #394 from OP-TED/feature/TED-1035
Updated validation summary report
2 parents 3390149 + b35b06a commit 9d7bef1

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

ted_sws/notice_validator/entrypoints/cli/cmd_validation_summary_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def run_cmd(self):
149149
return self.run_cmd_result()
150150

151151

152-
def run(mapping_suite_id=None, notice_id=None, notice_aggregate=False, opt_mappings_folder=DEFAULT_MAPPINGS_PATH):
152+
def run(mapping_suite_id=None, notice_id=None, notice_aggregate=True, opt_mappings_folder=DEFAULT_MAPPINGS_PATH):
153153
cmd = CmdRunner(
154154
mapping_suite_id=mapping_suite_id,
155155
notice_id=notice_id,
@@ -162,7 +162,7 @@ def run(mapping_suite_id=None, notice_id=None, notice_aggregate=False, opt_mappi
162162
@click.command()
163163
@click.argument('mapping-suite-id', nargs=1, required=True)
164164
@click.option('--notice-id', required=False, multiple=True, default=None)
165-
@click.option('--notice-aggregate', required=False, default=False, type=click.BOOL)
165+
@click.option('--notice-aggregate', required=False, default=True, type=click.BOOL)
166166
@click.option('-m', '--opt-mappings-folder', default=DEFAULT_MAPPINGS_PATH)
167167
def main(mapping_suite_id, notice_id, notice_aggregate, opt_mappings_folder):
168168
"""

ted_sws/notice_validator/resources/templates/validation_summary_report.jinja2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@
8383
{% else %}
8484
<ul>
8585
{% for nid in notice_ids %}
86-
<li><a href="{{ nid }}/test_suite_report/validation_summary_report.html" target="_blank">{{ nid }}</a></li>
86+
<li>
87+
<a href="{{ nid }}/test_suite_report" target="_blank">{{ nid }}</a>
88+
</li>
8789
{% endfor %}
8890
</ul>
8991
{% endif %}

0 commit comments

Comments
 (0)