Merge pull request #13478 from ankush/implicit_commit_tests
fix: test failure due to uncommited transaction
This commit is contained in:
commit
cb4f36a546
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ def run_tests_for_module(module, verbose=False, tests=(), profile=False, junit_x
|
|||
for doctype in module.test_dependencies:
|
||||
make_test_records(doctype, verbose=verbose)
|
||||
|
||||
frappe.db.commit()
|
||||
return _run_unittest(module, verbose=verbose, tests=tests, profile=profile, junit_xml_output=junit_xml_output)
|
||||
|
||||
def _run_unittest(modules, verbose=False, tests=(), profile=False, junit_xml_output=False):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue