1from Foundation import *
2from PyObjCTools.TestSupport import *
3
4class TestNSScriptCommandDescriptionHelper (NSScriptCommandDescription):
5    def isOptionalArgumentWithName_(self, name): return 1
6
7class NSScriptCommandDescription (TestCase):
8    def testMethods(self):
9        # This should be tested on the actual NSScriptCommandDescription class,
10        # but for some reason that class doesn't seem to have the
11        # required method (at least not without instantating the class)
12        self.assertResultIsBOOL(TestNSScriptCommandDescriptionHelper.isOptionalArgumentWithName_)
13
14if __name__ == "__main__":
15    main()
16