Source

pyobjc / pyobjc-framework-AppleScriptKit / PyObjCTest / test_applescriptkit.py

Full commit
'''
Some simple tests to check that the framework is properly wrapped.
'''
import objc
from PyObjCTools.TestSupport import *
import AppleScriptKit

class TestAppleScriptKit (TestCase):
    def testClasses(self):
        self.assert_( hasattr(AppleScriptKit, 'ASKPluginObject') )
        self.assert_( isinstance(AppleScriptKit.ASKPluginObject, objc.objc_class) )

if __name__ == "__main__":
    main()