Browse Source

[oozie] Fix broken submit Java action test

Romain Rigaux 11 years ago
parent
commit
f294650568
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/oozie/src/oozie/tests.py

+ 2 - 2
apps/oozie/src/oozie/tests.py

@@ -3003,7 +3003,7 @@ class TestOozieSubmissions(OozieBase):
 
 
   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.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:
     workflow_dict['attributes']['deployment_dir'] = correct_workflow_dict['attributes']['deployment_dir']
 
-  return reformat_json(workflow_dict)
+  return reformat_json(workflow_dict)