def testDate(self):
     """testing date"""
     from bfe_INSPIRE_date import format
     self.bfo=BibFormatObject('6194')
     string=format(self.bfo)
     print string
     string2=format(self.bfo,us="no")
     print string2
 def testLinks(self):
     """testing Links"""
     from bfe_INSPIRE_links import format
     self.bfo=BibFormatObject('37650')
     string= format(self.bfo, separator='</li>\n<li>', prefix="<ul><li>",suffix="</li></ul>")
     print string
     self.assert_(re.search(r'065201">Journal',string))
     self.assert_(re.search(r'\?bibcode=2004',string))
        def testAff(self):
            """testing Affs"""
            from bfe_CERN_authors import format
            self.bfo=BibFormatObject('7374')
            string =  format(self.bfo,limit="5",print_affiliations="yes")

            self.assert_(re.search(r'Farhi, E.</a>',string))
            self.assert_(re.search(r'</a> \(<a.*MIT',string))
 def testarX(self):
     """testing arXiv"""
     from bfe_INSPIRE_arxiv import format
     self.bfo=BibFormatObject('37650')
     string=format(self.bfo)
     print string
     self.assert_(re.search(r'3066',string))
     self.assert_(not re.search(r'CERN',string))
     self.assert_(re.search(r'hep-ph',string))