[PyObjC-svn] r2343 - trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest
[email protected] Tue, 13 Oct 2009 07:16:42 -0500
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren
Date: Tue Oct 13 07:16:42 2009
New Revision: 2343
Log:
ensure tests work on 10.4
Modified:
trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflow.py
trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflowcontroller.py
trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflowview.py
Modified: trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflow.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflow.py (original)
+++ trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflow.py Tue Oct 13 07:16:42 2009
@@ -3,6 +3,7 @@
from Automator import *
class TestAMWorkflow (TestCase):
+ @min_os_level('10.5')
def testMethods(self):
self.failUnlessArgIsOut(AMWorkflow.runWorkflowAtURL_withInput_error_, 2)
self.failUnlessArgIsOut(AMWorkflow.initWithContentsOfURL_error_, 1)
Modified: trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflowcontroller.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflowcontroller.py (original)
+++ trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflowcontroller.py Tue Oct 13 07:16:42 2009
@@ -3,6 +3,7 @@
from Automator import *
class TestAMWorkflowController (TestCase):
+ @min_os_level('10.5')
def testMethods(self):
self.failUnlessResultIsBOOL(AMWorkflowController.canRun)
self.failUnlessResultIsBOOL(AMWorkflowController.isRunning)
Modified: trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflowview.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflowview.py (original)
+++ trunk/pyobjc/pyobjc-framework-Automator/PyObjCTest/test_amworkflowview.py Tue Oct 13 07:16:42 2009
@@ -3,6 +3,7 @@
from Automator import *
class TestAMWorkflowView (TestCase):
+ @min_os_level('10.5')
def testMethods(self):
self.failUnlessResultIsBOOL(AMWorkflowView.isEditable)
self.failUnlessArgIsBOOL(AMWorkflowView.setEditable_, 0)
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference