Commits

Ronald Oussoren committed 2934073

Port Automator wrappers to OSX 10.7

Comments (0)

Files changed (1)

pyobjc-framework-Automator/PyObjCTest/test_amaction.py

         self.assertArgIsOut(AMAction.runWithInput_fromAction_error_, 2)
         self.assertResultIsBOOL(AMAction.isStopped)
 
+    def testConstants(self):
+        self.assertEqual(AMLogLevelDebug, 0)
+        self.assertEqual(AMLogLevelInfo, 1)
+        self.assertEqual(AMLogLevelWarn, 2)
+        self.assertEqual(AMLogLevelError, 3)
+
 if __name__ == "__main__":
     main()