File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
utbot-python/src/main/kotlin/org/utbot/python Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import org.utbot.python.framework.codegen.model.PythonUserImport
88import org.utbot.framework.codegen.domain.TestFramework
99import org.utbot.framework.codegen.domain.models.CgMethodTestSet
1010import org.utbot.framework.plugin.api.ExecutableId
11+ import org.utbot.framework.plugin.api.UtClusterInfo
1112import org.utbot.framework.plugin.api.UtExecutionSuccess
1213import org.utbot.framework.plugin.api.util.UtContext
1314import org.utbot.framework.plugin.api.util.withUtContext
@@ -200,9 +201,12 @@ object PythonTestGenerationProcessor {
200201 )
201202 val testCode = codegen.pythonGenerateAsStringWithTestReport(
202203 notEmptyTests.map { testSet ->
204+ val intRange = testSet.executions.indices
205+ val clusterInfo = listOf (Pair (UtClusterInfo (" FUZZER" ), intRange))
203206 CgMethodTestSet (
204207 executableId = methodIds[testSet.method] as ExecutableId ,
205- executions = testSet.executions
208+ executions = testSet.executions,
209+ clustersInfo = clusterInfo,
206210 )
207211 },
208212 allImports
@@ -299,4 +303,4 @@ object PythonTestGenerationProcessor {
299303 } else {
300304 paths
301305 }
302- }
306+ }
You can’t perform that action at this time.
0 commit comments