[test-runner] fix
This commit is contained in:
parent
cb3984e902
commit
af08e9629c
1 changed files with 2 additions and 0 deletions
|
|
@ -138,6 +138,8 @@ def make_test_records(doctype, verbose=0, force=False):
|
|||
continue
|
||||
|
||||
if not frappe.local.test_objects.get(options):
|
||||
if options in frappe.local.test_objects:
|
||||
frappe.throw("Circular Reference for {0}".format(options))
|
||||
frappe.local.test_objects[options] = []
|
||||
make_test_records(options, verbose, force)
|
||||
make_test_records_for_doctype(options, verbose, force)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue