diff --git a/unittests/test_highlevel.py b/unittests/test_highlevel.py index 90c57cd..530b112 100644 --- a/unittests/test_highlevel.py +++ b/unittests/test_highlevel.py @@ -292,11 +292,11 @@ def test_extraction(self, datafiles, get_ebd_keys_and_files: List[Tuple[str, str try: docx_tables = get_ebd_docx_tables(datafiles, filename, ebd_key=ebd_key) if isinstance(docx_tables, str): - actual = EbdTableMetaData( + actual_meta_data = EbdTableMetaData( ebd_code=ebd_key, chapter="Dummy Chapter", sub_chapter="Dummy Subchapter", role=docx_tables ) # need to adapt EbdTableMetaData - assert actual == snapshot(name=ebd_key) + assert actual_meta_data == snapshot(name=ebd_key) else: converter = DocxTableConverter( docx_tables, ebd_key=ebd_key, chapter="Dummy Chapter", sub_chapter="Dummy Subchapter"