fixing a test.

This commit is contained in:
Dan Funk 2020-04-15 11:59:02 -04:00
parent dc2895cb05
commit c485ff5be6
1 changed files with 1 additions and 1 deletions

View File

@ -63,6 +63,6 @@ class TestWorkflowService(BaseTest):
task = processor.next_task() task = processor.next_task()
WorkflowService._process_options(task, task.task_spec.form.fields[0]) WorkflowService._process_options(task, task.task_spec.form.fields[0])
options = task.task_spec.form.fields[0].options options = task.task_spec.form.fields[0].options
self.assertEquals(5011, len(options)) self.assertEquals(19, len(options))
self.assertEquals(1000, options[0]['id']) self.assertEquals(1000, options[0]['id'])
self.assertEquals("UVA - INTERNAL - GM USE ONLY", options[0]['name']) self.assertEquals("UVA - INTERNAL - GM USE ONLY", options[0]['name'])