1
2from PyObjCTools.TestSupport import *
3from Automator import *
4
5class TestAMAction (TestCase):
6    @min_os_level("10.5")
7    def testMethods10_5(self):
8        self.failUnlessArgIsOut(AMAction.initWithContentsOfURL_error_, 1)
9        self.failUnlessArgIsBOOL(AMAction.initWithDefinition_fromArchive_, 1)
10
11    def testMethods(self):
12        self.failUnlessArgIsOut(AMAction.runWithInput_fromAction_error_, 2)
13
14if __name__ == "__main__":
15    main()
16