Browse Source

[oozie] Fix OozieApiMock for testing

Romain Rigaux 13 years ago
parent
commit
4ba7520ea9
1 changed files with 4 additions and 0 deletions
  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'