diff --git a/etc/rally.bash_completion b/etc/rally.bash_completion index 47baa485..521e8fec 100644 --- a/etc/rally.bash_completion +++ b/etc/rally.bash_completion @@ -39,7 +39,7 @@ _rally() OPTS["task_delete"]="--force --uuid" OPTS["task_detailed"]="--uuid --iterations-data" OPTS["task_list"]="--deployment --all-deployments --status --uuids-only" - OPTS["task_report"]="--tasks --out --open --html --junit" + OPTS["task_report"]="--tasks --out --open --html --html-static --junit" OPTS["task_results"]="--uuid" OPTS["task_sla_check"]="--uuid --json" OPTS["task_start"]="--deployment --task --task-args --task-args-file --tag --no-use --abort-on-sla-failure" diff --git a/tests/functional/test_cli_task.py b/tests/functional/test_cli_task.py index 574b2fe7..3adb9200 100644 --- a/tests/functional/test_cli_task.py +++ b/tests/functional/test_cli_task.py @@ -186,14 +186,28 @@ class TaskTestCase(unittest.TestCase): self.assertRaises(utils.RallyCliError, rally, "task status --uuid %s" % FAKE_TASK_UUID) + def _assert_html_report_libs_are_embedded(self, file_path, expected=True): + + embedded_signatures = ["Copyright (c) 2011-2014 Novus Partners, Inc.", + "AngularJS v1.3.3", + "Copyright (c) 2010-2015, Michael Bostock"] + external_signatures = ["