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

GitOrigin-RevId: 59dc5a2b0b52d0b3c10288a5394fd560c7aabc2a
This commit is contained in:
Ilia Kirianovskii
2025-09-24 23:20:50 +00:00
committed by intellij-monorepo-bot
parent c4ab08d8d9
commit b09e3546ec
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 = "community_test_resources",
files = glob(["testResources/**/*"]),
strip_prefix = "testResources"
)
jvm_library(
name = "community",
module_name = "intellij.python.community",
@@ -56,7 +62,8 @@ jvm_library(
exports = [
"//python/python-psi-api:psi",
"//platform/platform-util-io:ide-util-io",
]
],
runtime_deps = [":community_test_resources"]
)
### auto-generated section `build intellij.python.community` end
@@ -6,6 +6,7 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<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.libraries.junit5"/>
<module name="intellij.python.community"/>
</dependencies>
</idea-plugin>