Commit 80d88899 authored by lintangsutawika's avatar lintangsutawika
Browse files

fix test_choice test

parent f7a0235d
......@@ -659,7 +659,7 @@ class ConfigurableTask(Task):
self.multiple_target = len(test_target)
else:
if (type(test_target) is int) and (test_choice is not None):
test_target = [self.doc_to_choice(test_target)[test_target]]
test_target = [test_choice[test_target]]
else:
test_target = [test_target]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment