From 62aaf2e1abe8ea4007485d9ec54f3f872a08c3bf Mon Sep 17 00:00:00 2001 From: Ilia Kirianovskii Date: Wed, 24 Sep 2025 13:46:56 +0200 Subject: [PATCH] [python] Add intellij.python.community.services.internal.impl._test module descriptor to run tests in dev-mode (IJPL-116621) GitOrigin-RevId: bdacf3c5e1bf59a31110e05b580ce2188be03278 --- python/services/internal-impl/BUILD.bazel | 9 ++++++++- .../intellij.python.community.services.internal.impl.iml | 1 + ...lij.python.community.services.internal.impl._test.xml | 7 +++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 python/services/internal-impl/testResources/intellij.python.community.services.internal.impl._test.xml diff --git a/python/services/internal-impl/BUILD.bazel b/python/services/internal-impl/BUILD.bazel index c3530159329d..16734a05ca36 100644 --- a/python/services/internal-impl/BUILD.bazel +++ b/python/services/internal-impl/BUILD.bazel @@ -7,6 +7,12 @@ jvm_resources( strip_prefix = "resources" ) +jvm_resources( + name = "python-community-services-internal-impl_test_resources", + files = glob(["testResources/**/*"]), + strip_prefix = "testResources" +) + jvm_library( name = "python-community-services-internal-impl", module_name = "intellij.python.community.services.internal.impl", @@ -50,7 +56,8 @@ jvm_library( "//python/junit5Tests-framework:community-junit5Tests-framework_test_lib", "//python/python-exec-service/execService.python", "//python/python-exec-service/execService.python:execService.python_test_lib", - ] + ], + runtime_deps = [":python-community-services-internal-impl_test_resources"] ) ### auto-generated section `build intellij.python.community.services.internal.impl` end diff --git a/python/services/internal-impl/intellij.python.community.services.internal.impl.iml b/python/services/internal-impl/intellij.python.community.services.internal.impl.iml index fe31e5d86b65..141185671d29 100644 --- a/python/services/internal-impl/intellij.python.community.services.internal.impl.iml +++ b/python/services/internal-impl/intellij.python.community.services.internal.impl.iml @@ -6,6 +6,7 @@ + diff --git a/python/services/internal-impl/testResources/intellij.python.community.services.internal.impl._test.xml b/python/services/internal-impl/testResources/intellij.python.community.services.internal.impl._test.xml new file mode 100644 index 000000000000..721b0f57961e --- /dev/null +++ b/python/services/internal-impl/testResources/intellij.python.community.services.internal.impl._test.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file