Example #1
0
 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))
Example #2
0
 def test_interface(self):
     """
     L{SubScheduler} provides L{IScheduler} (which it proxies).
     """
     self.assertTrue(IScheduler.providedBy(self.oldScheduler))
Example #3
0
 def test_implementsSchedulerInterface(self):
     """
     Verify that IScheduler is declared as implemented.
     """
     self.failUnless(IScheduler.providedBy(IScheduler(self.store)))