def test_write_str(self):
    with open(self.input_file_path) as bibtex_file:
        bibtex_database = bibdeskparser.load(bibtex_file)
    result = bibdeskparser.dumps(bibtex_database)
    self.assertEqual(result, self.expected)
def test_write_str(self):
    with open(self.input_file_path) as bibtex_file:
        bibtex_database = bibdeskparser.load(bibtex_file)
    result = bibdeskparser.dumps(bibtex_database)
    self.assertEqual(result, self.expected)