From 644fc5cb1de97c9dd57fe7855ff0d2c4f183ae1e Mon Sep 17 00:00:00 2001 From: Ilia Kirianovskii Date: Wed, 24 Sep 2025 22:24:18 +0200 Subject: [PATCH] [python] Add intellij.python.sdk._test module descriptor to run tests in dev-mode (IJPL-116621) GitOrigin-RevId: a87a4f77bf6d738824a38754619bab1e30beb9b3 --- python/python-sdk/BUILD.bazel | 9 ++++++++- python/python-sdk/intellij.python.sdk.iml | 1 + .../testResources/intellij.python.sdk._test.xml | 6 ++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 python/python-sdk/testResources/intellij.python.sdk._test.xml diff --git a/python/python-sdk/BUILD.bazel b/python/python-sdk/BUILD.bazel index 4674ec57cc78..2d095b694a21 100644 --- a/python/python-sdk/BUILD.bazel +++ b/python/python-sdk/BUILD.bazel @@ -7,6 +7,12 @@ jvm_resources( strip_prefix = "resources" ) +jvm_resources( + name = "sdk_test_resources", + files = glob(["testResources/**/*"]), + strip_prefix = "testResources" +) + jvm_library( name = "sdk", module_name = "intellij.python.sdk", @@ -87,7 +93,8 @@ jvm_library( "//platform/eel-impl", "//platform/eel-provider", "//python/impl.helperLocator:community-helpersLocator", - ] + ], + runtime_deps = [":sdk_test_resources"] ) ### auto-generated section `build intellij.python.sdk` end diff --git a/python/python-sdk/intellij.python.sdk.iml b/python/python-sdk/intellij.python.sdk.iml index 4444e3a00bea..d23f5500f068 100644 --- a/python/python-sdk/intellij.python.sdk.iml +++ b/python/python-sdk/intellij.python.sdk.iml @@ -6,6 +6,7 @@ + diff --git a/python/python-sdk/testResources/intellij.python.sdk._test.xml b/python/python-sdk/testResources/intellij.python.sdk._test.xml new file mode 100644 index 000000000000..350d50f45aac --- /dev/null +++ b/python/python-sdk/testResources/intellij.python.sdk._test.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file