From 27ab0796188ceff76aaa0f3f63b487ea9bfde141 Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Fri, 19 May 2017 18:17:42 +0300 Subject: [PATCH] PY-24302: Set module explicitly for newly created configurations There could be more than one module, so we need to take it from context --- python/src/com/jetbrains/python/testing/PyTestsShared.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/python/src/com/jetbrains/python/testing/PyTestsShared.kt b/python/src/com/jetbrains/python/testing/PyTestsShared.kt index 578a168567e2..27bc2f301f28 100644 --- a/python/src/com/jetbrains/python/testing/PyTestsShared.kt +++ b/python/src/com/jetbrains/python/testing/PyTestsShared.kt @@ -613,6 +613,7 @@ object PyTestsConfigurationProducer : com.jetbrains.python.testing.AbstractPytho configuration.workingDirectory = targetForConfig.second } } + configuration.module = context?.module configuration.setGeneratedName() return true }