Delete read only field test

This is really something the frontend should be testing. Perhaps in the libraries test suite
This commit is contained in:
alicia pritchett 2022-02-18 10:00:15 -05:00
parent 7d597a82f4
commit ad58b67bb6
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
from tests.base_test import BaseTest
class TestReadOnlyField(BaseTest):
def test_read_only(self):
workflow = self.create_workflow('read_only_field')
workflow_api = self.get_workflow_api(workflow)
first_task = workflow_api.next_task
read_only_field = first_task.data['read_only_field']
self.complete_form(workflow, first_task, {'read_only_field': read_only_field})
workflow_api = self.get_workflow_api(workflow)
task = workflow_api.next_task
self.assertEqual('Read only is asdf', task.documentation)