Title: Python test generation UI action is unavailable in IC · Issue #1554 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Python test generation UI action is unavailable in IC · Issue #1554 · UnitTestBot/UTBotJava
X Title: Python test generation UI action is unavailable in IC · Issue #1554 · UnitTestBot/UTBotJava
Description: Description After PR #1545 I cannot run UtBot Python plugin in IntelliJ Community. In file UTBotJava/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/actions/GenerateTestAction.kt: if (languageAssistant == null || !accessByPro...
Open Graph Description: Description After PR #1545 I cannot run UtBot Python plugin in IntelliJ Community. In file UTBotJava/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/actions/GenerateTestAction.kt: if (l...
X Description: Description After PR #1545 I cannot run UtBot Python plugin in IntelliJ Community. In file UTBotJava/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/actions/GenerateTestAction.kt: if (l...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1554
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python test generation UI action is unavailable in IC","articleBody":"**Description**\r\n\r\nAfter PR #1545 I cannot run UtBot Python plugin in IntelliJ Community.\r\n\r\nIn file `UTBotJava/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/actions/GenerateTestAction.kt`:\r\n```kotlin\r\nif (languageAssistant == null || !accessByProjectSettings(e)) {\r\n e.presentation.isEnabled = false\r\n} else {\r\n languageAssistant.update(e)\r\n}\r\n```\r\nin IC and in python project the second condition is true, but we need to call `PythonLanguageAssistant.update(e)`.\r\n\r\n**To Reproduce**\r\n\r\nSteps to reproduce the behavior:\r\n\r\n1. Run the python project in IntelliJ Idea Community\r\n2. Try to use plugin to generate tests for python file\r\n\r\n**Expected behavior**\r\n\r\nUI action with python settings\r\n\r\n**Actual behavior**\r\n\r\nI cannot generate tests for python file\r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n\r\n\r\n**Environment**\r\n\r\n\r\n**Additional context**\r\n\r\n","author":{"url":"https://github.com/tamarinvs19","@type":"Person","name":"tamarinvs19"},"datePublished":"2022-12-19T16:25:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1554/UTBotJava/issues/1554"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c905c5db-93c1-40e2-4f84-5ab9f74d8202 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FF0:136ED2:4161EB:538021:6990A058 |
| html-safe-nonce | 51acdac63c4646e2331e3d70aad18cd5274867ffe3c2d5e97a830764baca96b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkYwOjEzNkVEMjo0MTYxRUI6NTM4MDIxOjY5OTBBMDU4IiwidmlzaXRvcl9pZCI6IjQwMDM3ODgwOTU4NTgxODgzNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0a086cc3e92c9a17ed687042ab11cdb32d54c0757f14e52168de96e849576b01 |
| hovercard-subject-tag | issue:1503229480 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UnitTestBot/UTBotJava/1554/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02125019a764bdd9c6e0fd2e6aba063d3ad87649defdf56f8748be38b4f50c0b/UnitTestBot/UTBotJava/issues/1554 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02125019a764bdd9c6e0fd2e6aba063d3ad87649defdf56f8748be38b4f50c0b/UnitTestBot/UTBotJava/issues/1554 |
| og:image:alt | Description After PR #1545 I cannot run UtBot Python plugin in IntelliJ Community. In file UTBotJava/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/actions/GenerateTestAction.kt: if (l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tamarinvs19 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width