PY-24302: Set module explicitly for newly created configurations

There could be more than one module, so we need to take it from context
This commit is contained in:
Ilya.Kazakevich
2017-05-19 18:19:29 +03:00
parent bfb19beef0
commit 27ab079618
@@ -613,6 +613,7 @@ object PyTestsConfigurationProducer : com.jetbrains.python.testing.AbstractPytho
configuration.workingDirectory = targetForConfig.second
}
}
configuration.module = context?.module
configuration.setGeneratedName()
return true
}