def test_parser_contract(self):
     self.failUnless(IBibliographyParser.providedBy(self.parser))
     self.failUnless(verifyObject(IBibliographyParser, self.parser))
Example #2
0
 def test_provides(self):
     self.failUnless(IBibliographyParser.providedBy(BibliographyParser()))
 def test_parser_contract(self):
     self.failUnless(IBibliographyParser.providedBy(EndNoteParser()))
     self.failUnless(verifyObject(IBibliographyParser, EndNoteParser()))