cr-connect-workflow/tests/scripts/test_get_study_associate_va...

14 lines
457 B
Python
Raw Normal View History

2021-06-04 15:45:51 +00:00
from tests.base_test import BaseTest
from crc import app
class TestGetStudyAssociateValidation(BaseTest):
def test_get_study_associate_validation(self):
self.load_example_data()
workflow = self.create_workflow('get_study_associate')
rv = self.app.get('/v1.0/workflow-specification/%s/validate' % workflow.workflow_spec_id,
headers=self.logged_in_headers())
self.assertEqual(0, len(rv.json))