From d6fb73aa3d010652805bd15e456b3529f767b204 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Thu, 10 Oct 2024 19:01:59 +0200 Subject: [PATCH] ci: support downstream erpnext migration within exception code path (#28081) --- frappe/parallel_test_runner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frappe/parallel_test_runner.py b/frappe/parallel_test_runner.py index 13defac5e0..f446a62f0f 100644 --- a/frappe/parallel_test_runner.py +++ b/frappe/parallel_test_runner.py @@ -102,6 +102,9 @@ class ParallelTestRunner: if hasattr(module, "test_dependencies"): for doctype in module.test_dependencies: make_test_records(doctype, commit=True) + if hasattr(module, "EXTRA_TEST_RECORD_DEPENDENCIES"): + for doctype in module.EXTRA_TEST_RECORD_DEPENDENCIES: + make_test_records(doctype, commit=True) if os.path.basename(os.path.dirname(path)) == "doctype": # test_data_migration_connector.py > data_migration_connector.json