1 2from PyObjCTools.TestSupport import * 3from AppKit import * 4 5class TestNSPageLayout (TestCase): 6 def testMethods(self): 7 self.assertArgIsSEL(NSPageLayout.beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo_, 3, b'v@:@'+objc._C_NSInteger+b'^v') 8 self.assertArgHasType(NSPageLayout.beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo_, 4, b'^v') 9 10 11if __name__ == "__main__": 12 main() 13