Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/n/o/notify2-0.3/test_notify2.py   notify2(Download)
    def test_timeout(self):
        n = notify2.Notification("Plain")
        self.assertEqual(n.get_timeout(), notify2.EXPIRES_DEFAULT)
        n.set_timeout(notify2.EXPIRES_NEVER)
        self.assertEqual(n.get_timeout(), notify2.EXPIRES_NEVER)