File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 55def add_new_line (summary ):
66 return summary .replace ("\n " , "<br>" )
77
8- # Data structure to store pages
9- pages = {}
10-
11- def add_page (page_name ):
12- pages [page_name ] = ""
13-
148
159def make_a_report ():
1610 st .header ("Test2Text Report" )
1711
1812 db = DbClient ("./private/requirements.db" )
19- all_reqs_count = db .conn .execute (
20- "SELECT COUNT(*) FROM Requirements"
21- ).fetchone ()[0 ]
2213
2314 st .subheader ("Table of Contents" )
2415
@@ -67,6 +58,7 @@ def write_requirement():
6758 for test_script in current_test_scripts :
6859 st .html (f"<li>{ test_script } </li>" )
6960 st .html ("</ul>" )
61+
7062 progress_bar = st .progress (0 , "Processing..." )
7163 if not data .fetchall ():
7264 st .error ("There is no data to inspect.\n Please upload annotations." )
@@ -97,6 +89,5 @@ def write_requirement():
9789 write_requirement ()
9890
9991
100-
10192if __name__ == "__main__" :
10293 make_a_report ()
You can’t perform that action at this time.
0 commit comments