Browse Source

HUE-4053 [oozie] Fix oozie share workflow test

Jenny Kim 9 years ago
parent
commit
18341c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/oozie/src/oozie/tests2.py

+ 1 - 1
apps/oozie/src/oozie/tests2.py

@@ -422,7 +422,7 @@ LIMIT $limit"""))
 
       # other user cannot view document
       response = self.client_not_me.get(reverse('oozie:edit_workflow'), {'uuid': wf_doc.uuid})
-      assert_equal(response.status_code, 500)
+      assert_equal(response.status_code, 401)
 
       # Share write perm by user
       if USE_NEW_EDITOR.get():