Source

pyobjc / pyobjc-framework-WebKit / PyObjCTest / test_webplugin.py

Full commit

from PyObjCTools.TestSupport import *
from WebKit import *

class TestWebPluginHelper (NSObject):
    def webPlugInSetIsSelected_(self, v): pass

class TestWebPlugin (TestCase):
    def testConstants(self):
        self.assertArgIsBOOL(TestWebPluginHelper.webPlugInSetIsSelected_, 0)

if __name__ == "__main__":
    main()