Fix Test Case Generator to not create illegal 'None' handles
Fixes #10230
This commit is contained in:
parent
896b9d96e2
commit
288b381453
@ -145,8 +145,8 @@ class ToolControl(unittest.TestCase):
|
||||
"1 invalid birth event name was fixed",
|
||||
"1 invalid death event name was fixed",
|
||||
"2 places were referenced, but not found",
|
||||
"15 citations were referenced, but not found",
|
||||
"18 sources were referenced, but not found",
|
||||
"2 citations were referenced, but not found",
|
||||
"5 sources were referenced, but not found",
|
||||
"9 Duplicated Gramps IDs fixed",
|
||||
"7 empty objects removed",
|
||||
"1 person objects",
|
||||
|
@ -1107,7 +1107,7 @@ class TestcaseGenerator(tool.BatchTool):
|
||||
self.transaction_count += 1
|
||||
|
||||
c_h = "unknowncitationhandle"
|
||||
self.create_all_possible_citations([c_h, None], "Broken22",
|
||||
self.create_all_possible_citations([c_h, ''], "Broken22",
|
||||
'non-existent citation')
|
||||
|
||||
def create_all_possible_citations(self, c_h_list, name, message):
|
||||
|
Loading…
Reference in New Issue
Block a user