mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
Better description
This commit is contained in:
parent
2ecf6cdf86
commit
6f31a26772
@ -6,8 +6,8 @@ import json
|
|||||||
class TestMissingLibrary(BaseTest):
|
class TestMissingLibrary(BaseTest):
|
||||||
|
|
||||||
def test_missing_library(self):
|
def test_missing_library(self):
|
||||||
"""We call a library that does not exist, and
|
"""This workflow calls a library that does not exist,
|
||||||
test to see if our error service hint is in the error message."""
|
we validate the workflow, and assert that our error service hint is in the error message."""
|
||||||
workflow = self.create_workflow('missing_library')
|
workflow = self.create_workflow('missing_library')
|
||||||
rv = self.app.get('/v1.0/workflow-specification/%s/validate' % workflow.workflow_spec_id, headers=self.logged_in_headers())
|
rv = self.app.get('/v1.0/workflow-specification/%s/validate' % workflow.workflow_spec_id, headers=self.logged_in_headers())
|
||||||
json_data = json.loads(rv.get_data(as_text=True))
|
json_data = json.loads(rv.get_data(as_text=True))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user