fix(testing): test record removal (#28114)
This commit is contained in:
parent
008984b164
commit
a8ae9f9f0f
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ class TestRecordLog:
|
|||
"""
|
||||
Remove all records for the specified doctype from the log.
|
||||
"""
|
||||
if self._log is not None and doctype in self._log:
|
||||
if doctype in self.get():
|
||||
del self._log[doctype]
|
||||
self._remove_from_log(doctype)
|
||||
testing_logger.debug(f" > {doctype:<30} deleted from {self.log_file}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue