Tests: 9 more reports

This commit is contained in:
Doug Blank 2016-04-28 17:40:10 -04:00
parent ed324676f0
commit f460927a3b

View File

@ -200,6 +200,16 @@ reports.addreport(TestDynamic, "navwebpage",
["/tmp/NAVWEB"], ["/tmp/NAVWEB"],
off="html", target="/tmp/NAVWEB") off="html", target="/tmp/NAVWEB")
reports.addreport(TestDynamic, "WebCal",
err_does_not_contain("Failed to write report."),
["/tmp/WEBCAL"],
off="html", target="/tmp/WEBCAL")
reports.addreport(TestDynamic, "database-differences-report",
err_does_not_contain("Failed to write report."),
[],
off="txt", filename=example)
reports.addcli(TestDynamic, "import_gedcom", reports.addcli(TestDynamic, "import_gedcom",
err_does_contain("Cleaning up."), err_does_contain("Cleaning up."),
[None], [None],
@ -259,21 +269,20 @@ report_list = [
##("ancestor_chart", "pdf", []), # Ancestor Tree ##("ancestor_chart", "pdf", []), # Ancestor Tree
("ancestor_report", "txt", []), # Ahnentafel Report ("ancestor_report", "txt", []), # Ahnentafel Report
("birthday_report", "txt", []), # Birthday and Anniversary Report ("birthday_report", "txt", []), # Birthday and Anniversary Report
# ("calendar", "svg", ["calendar-10.svg", "calendar-11.svg", ("calendar", "svg", ["calendar-10.svg", "calendar-11.svg",
# "calendar-12.svg", "calendar-2.svg", "calendar-12.svg", "calendar-2.svg",
# "calendar-3.svg", "calendar-4.svg", "calendar-3.svg", "calendar-4.svg",
# "calendar-5.svg", "calendar-6.svg", "calendar-5.svg", "calendar-6.svg",
# "calendar-7.svg", "calendar-8.svg", "calendar-7.svg", "calendar-8.svg",
# "calendar-9.svg"]), # Calendar "calendar-9.svg", "calendar.svg"]), # Calendar
## ("d3-ancestralcollapsibletree", "txt"), # Ancestral Collapsible Tree ## ("d3-ancestralcollapsibletree", "txt"), # Ancestral Collapsible Tree
## ("d3-ancestralfanchart", "txt"), # Ancestral Fan Chart ## ("d3-ancestralfanchart", "txt"), # Ancestral Fan Chart
## "d3-descendantindentedtree", # Descendant Indented Tree ## "d3-descendantindentedtree", # Descendant Indented Tree
### ("database-differences-report", "txt", []), # Database Differences Report
## "denominoviso", # DenominoViso ## "denominoviso", # DenominoViso
##("descend_chart", "svg", []), # Descendant Tree ##("descend_chart", "svg", []), # Descendant Tree
("descend_report", "txt", []), # Descendant Report ("descend_report", "txt", []), # Descendant Report
### ("DescendantBook", "txt", []), # Descendant Book ("DescendantBook", "txt", []), # Descendant Book
## ("Descendants Lines", "txt"), # Descendants Lines ### real error ("Descendants Lines", "txt", []), # Descendants Lines
("det_ancestor_report", "txt", []), # Detailed Ancestral Report ("det_ancestor_report", "txt", []), # Detailed Ancestral Report
("det_descendant_report", "txt", []), # Detailed Descendant Report ("det_descendant_report", "txt", []), # Detailed Descendant Report
### ("DetailedDescendantBook", "txt", []), # Detailed Descendant Book ### ("DetailedDescendantBook", "txt", []), # Detailed Descendant Book
@ -287,8 +296,8 @@ report_list = [
# ("hourglass_graph", "svg", []), # Hourglass Graph # ("hourglass_graph", "svg", []), # Hourglass Graph
("indiv_complete", "txt", []), # Complete Individual Report ("indiv_complete", "txt", []), # Complete Individual Report
("kinship_report", "txt", []), # Kinship Report ("kinship_report", "txt", []), # Kinship Report
### ("LastChangeReport", "txt", []), # Last Change Report ("LastChangeReport", "txt", []), # Last Change Report
### ("LinesOfDescendency", "txt", []), # Lines of Descendency Report ("LinesOfDescendency", "txt", []), # Lines of Descendency Report
## "ListeEclair", # Tiny Tafel ## "ListeEclair", # Tiny Tafel
("notelinkreport", "txt", []), # Note Link Report ("notelinkreport", "txt", []), # Note Link Report
("number_of_ancestors", "txt", []), # Number of Ancestors Report ("number_of_ancestors", "txt", []), # Number of Ancestors Report
@ -297,14 +306,13 @@ report_list = [
## "place_report", # Place Report ## "place_report", # Place Report
("records", "txt", []), # Records Report ("records", "txt", []), # Records Report
##("rel_graph", "pdf", []), # Relationship Graph ##("rel_graph", "pdf", []), # Relationship Graph
### ("Repositories Report", "txt", []), # Repositories Report ("Repositories Report", "txt", []), # Repositories Report
### ("Repositories Report Options", "txt", []), # Repositories Report Options ("Repositories Report Options", "txt", []), # Repositories Report Options
# ("statistics_chart", "svg", ["statistics_chart-2.svg", # ("statistics_chart", "svg", ["statistics_chart-2.svg",
# "statistics_chart-3.svg"]), # Statistics Charts # "statistics_chart-3.svg"]), # Statistics Charts
("summary", "txt", []), # Database Summary Report ("summary", "txt", []), # Database Summary Report
##("timeline", "pdf", []), # Timeline Chart ##("timeline", "pdf", []), # Timeline Chart
### ("TodoReport", "txt", []), # Todo Report ("TodoReport", "txt", []), # Todo Report
## ("WebCal", "txt"), # Web Calendar
] ]
for (report_name, off, files) in report_list: for (report_name, off, files) in report_list: