1from Foundation import * 2from PyObjCTools.TestSupport import * 3 4class TestNSNotification (TestCase): 5 def testMethods(self): 6 self.assertArgIsSEL(NSNotificationCenter.addObserver_selector_name_object_, 1, b'v@:@') 7 8 @min_os_level('10.6') 9 def testMethods10_6(self): 10 self.assertArgIsBlock(NSNotificationCenter.addObserverForName_object_queue_usingBlock_, 3, b'v@') 11 12if __name__ == "__main__": 13 main() 14