[python] Add intellij.python.sdk._test module descriptor to run tests in dev-mode (IJPL-116621)

GitOrigin-RevId: a87a4f77bf6d738824a38754619bab1e30beb9b3
This commit is contained in:
Ilia Kirianovskii
2025-09-25 02:24:13 +00:00
committed by intellij-monorepo-bot
parent dbff9211f6
commit 644fc5cb1d
3 changed files with 15 additions and 1 deletions
+8 -1
View File
@@ -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
@@ -6,6 +6,7 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/testResources" type="java-test-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
@@ -0,0 +1,6 @@
<idea-plugin>
<dependencies>
<module name="intellij.python.sdk"/>
<module name="intellij.libraries.junit5"/>
</dependencies>
</idea-plugin>