def test_interface(self): self.assertTrue(IHandler.implementedBy(EventWriter)) self.assertTrue(IPlugin.implementedBy(EventWriter)) self.assertTrue(IHasOptions.implementedBy(EventWriter))
def test_interface(self): self.assertTrue(IHandler.implementedBy(EventPrinter)) self.assertTrue(IPlugin.implementedBy(EventPrinter))