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
8
8
import org.utbot.framework.codegen.domain.TestFramework
9
9
import org.utbot.framework.codegen.domain.models.CgMethodTestSet
10
10
import org.utbot.framework.plugin.api.ExecutableId
11
+ import org.utbot.framework.plugin.api.UtClusterInfo
11
12
import org.utbot.framework.plugin.api.UtExecutionSuccess
12
13
import org.utbot.framework.plugin.api.util.UtContext
13
14
import org.utbot.framework.plugin.api.util.withUtContext
@@ -200,9 +201,12 @@ object PythonTestGenerationProcessor {
200
201
)
201
202
val testCode = codegen.pythonGenerateAsStringWithTestReport(
202
203
notEmptyTests.map { testSet ->
204
+ val intRange = testSet.executions.indices
205
+ val clusterInfo = listOf (Pair (UtClusterInfo (" FUZZER" ), intRange))
203
206
CgMethodTestSet (
204
207
executableId = methodIds[testSet.method] as ExecutableId ,
205
- executions = testSet.executions
208
+ executions = testSet.executions,
209
+ clustersInfo = clusterInfo,
206
210
)
207
211
},
208
212
allImports
@@ -299,4 +303,4 @@ object PythonTestGenerationProcessor {
299
303
} else {
300
304
paths
301
305
}
302
- }
306
+ }
You can’t perform that action at this time.
0 commit comments