|
@@ -3003,7 +3003,7 @@ class TestOozieSubmissions(OozieBase):
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_submit_java_action(self):
|
|
def test_submit_java_action(self):
|
|
|
- wf = Document.objects.get_docs(self.user, Workflow).get(name='Sequential Java', owner__username='sample', extra='').content_object
|
|
|
|
|
|
|
+ wf = Document.objects.get_docs(self.user, Workflow).get(name='TeraSort', owner__username='sample', extra='').content_object
|
|
|
wf.owner = User.objects.get(username='sample')
|
|
wf.owner = User.objects.get(username='sample')
|
|
|
wf.save()
|
|
wf.save()
|
|
|
|
|
|
|
@@ -3697,4 +3697,4 @@ def synchronize_workflow_attributes(workflow_json, correct_workflow_json):
|
|
|
if 'attributes' in workflow_dict and 'attributes' in correct_workflow_dict:
|
|
if 'attributes' in workflow_dict and 'attributes' in correct_workflow_dict:
|
|
|
workflow_dict['attributes']['deployment_dir'] = correct_workflow_dict['attributes']['deployment_dir']
|
|
workflow_dict['attributes']['deployment_dir'] = correct_workflow_dict['attributes']['deployment_dir']
|
|
|
|
|
|
|
|
- return reformat_json(workflow_dict)
|
|
|
|
|
|
|
+ return reformat_json(workflow_dict)
|