def test_interface(self): """ L{Scheduler} provides L{IScheduler} (which it proxies) and L{IService} (which is a no-op). """ self.assertTrue(IScheduler.providedBy(self.oldScheduler)) self.assertTrue(IService.providedBy(self.oldScheduler))
def test_interface(self): """ L{SubScheduler} provides L{IScheduler} (which it proxies). """ self.assertTrue(IScheduler.providedBy(self.oldScheduler))
def test_implementsSchedulerInterface(self): """ Verify that IScheduler is declared as implemented. """ self.failUnless(IScheduler.providedBy(IScheduler(self.store)))