Просмотр исходного кода

Revert "HUE-8825 [oozie] Fix unit test oozie.models2_tests:TestEditor.test_share_workflow"

This reverts commit 8abf9f17c653c35ed16444cda7d650726e56febf.
Romain 6 лет назад
Родитель
Сommit
ea3ecf0176
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/oozie/src/oozie/models2_tests.py

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

@@ -473,7 +473,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) # 401 error is caught and raise PopupException (500)
+      assert_equal(response.status_code, 401)
 
       # Share write perm by user
       if USE_NEW_EDITOR.get():