소스 검색

[oozie] Fix workflow streaming XML generation test

Romain Rigaux 12 년 전
부모
커밋
f81f6b2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      apps/oozie/src/oozie/tests.py

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

@@ -756,7 +756,7 @@ class TestEditor(OozieMockBase):
         "mapper": "MyMapper",
         "reducer": "MyReducer",
         "files": '["my_file"]',
-        "archives":'["my_archive"]',
+        "archives":'[{"dummy":"","name":"my_archive"}]',
     })
     Link(parent=action1, child=self.wf.end, name="ok").save()
 
@@ -772,7 +772,7 @@ class TestEditor(OozieMockBase):
                 <reducer>MyReducer</reducer>
             </streaming>
             <file>my_file#my_file</file>
-            <archive>my_archive</archive>
+            <archive>my_archive#my_archive</archive>
         </map-reduce>
         <ok to="end"/>
         <error to="kill"/>