Fixing a failing test.
This commit is contained in:
parent
7b02f46403
commit
b12e178288
|
@ -77,8 +77,8 @@ class TestWorkflowService(BaseTest):
|
||||||
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.assertEqual(29, len(options))
|
self.assertEqual(29, len(options))
|
||||||
self.assertEqual('0', options[0]['id'])
|
self.assertEqual('0', options[0].id)
|
||||||
self.assertEqual("Other", options[0]['name'])
|
self.assertEqual("Other", options[0].name)
|
||||||
|
|
||||||
def test_random_data_populate_form_on_auto_complete(self):
|
def test_random_data_populate_form_on_auto_complete(self):
|
||||||
self.load_example_data()
|
self.load_example_data()
|
||||||
|
|
Loading…
Reference in New Issue