def test_parse_immediately(self):
    with open(self.input_file_path) as bibtex_file:
        bibtex_str = bibtex_file.read()
    bibtex_database = BibTexParser(bibtex_str)
    self.assertEqual(bibtex_database.entries, self.entries_expected)
def test_parse_immediately(self):
    with open(self.input_file_path) as bibtex_file:
        bibtex_str = bibtex_file.read()
    bibtex_database = BibTexParser(bibtex_str)
    self.assertEqual(bibtex_database.entries, self.entries_expected)