Browse Source

[oozie] Fix OozieApiMock for testing

Romain Rigaux 13 năm trước cách đây
mục cha
commit
4ba7520ea9
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      apps/oozie/src/oozie/tests.py

+ 4 - 0
apps/oozie/src/oozie/tests.py

@@ -74,6 +74,10 @@ class MockOozieApi:
   def setuser(self, user):
     pass
 
+  @property
+  def security_enabled(self):
+    return False
+
   def submit_job(self, properties):
     return 'ONE-OOZIE-ID-W'