16import validationserver
19from validationtestutil
import check_path_exists
24 Runs two test validations, starts the web server and queries data
27 rev_to_gen = "test_folder_creation"
28 all_tags = [
"reference", rev_to_gen]
31 with tempfile.TemporaryDirectory()
as tmpdir:
32 print(f
"Created temporary test folder {tmpdir}")
50 str(tmpdir), rev_to_gen
55 "validationTestPlots.py.log",
60 "validationTestPlots.root",
62 expect_html_plots_comparison_json,
63 expect_html_plots_comparison_folder,
66 check_path_exists(path_to_check)
75 os.path.join(str(tmpdir), validationpath.folder_name_html),
78 validationpath.folder_name_html,
79 validationpath.folder_name_plots,
82 check_path_exists(path_to_check)
86 shutil.rmtree(expect_html_plots_comparison_folder)
92 check_path_exists(path_to_check)
95if __name__ ==
"__main__":
def execute(tag=None, is_test=None)
def get_html_plots_tag_comparison_json(output_base_dir, tags)
def get_results_tag_revision_file(output_base_dir, tag)
def get_html_plots_tag_comparison_folder(output_base_dir, tags)
def get_results_tag_folder(output_base_dir, tag)
None generate_new_plots(List[str] revisions, str work_folder, Optional[Queue] process_queue=None, root_error_ignore_level=ROOT.kWarning)
def run_server(ip="127.0.0.1", port=8000, parse_command_line=False, open_site=False, dry_run=False)