1from PyObjCTools.TestSupport import *
2
3from Foundation import *
4
5
6class TestNSNotificationQueue (TestCase):
7    def testConstants(self):
8        self.assertEquals(NSPostWhenIdle, 1)
9        self.assertEquals(NSPostASAP, 2)
10        self.assertEquals(NSPostNow, 3)
11
12        self.assertEquals(NSNotificationNoCoalescing, 0)
13        self.assertEquals(NSNotificationCoalescingOnName, 1)
14        self.assertEquals(NSNotificationCoalescingOnSender, 2)
15
16
17if __name__ == "__main__":
18    main()
19