Skip to content

Commit

Permalink
tests.rollback:rollback_extract - fix missing siegfried home parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Dec 17, 2024
1 parent 48caec5 commit 0486e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_rollback.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@


# noinspection DuplicatedCode
def test_rollback_extract(avid_folder_copy: Path):
def test_rollback_extract(reference_files: Path, avid_folder_copy: Path):
avid = AVID(avid_folder_copy)

with FilesDB(avid.database_path) as database:
files = database.original_files.select("action = 'extract'").fetchall()

run_click(avid.path, app, "extract")
run_click(avid.path, app, "extract", "--siegfried-home", reference_files)

with FilesDB(avid.database_path) as database:
extracted_files = database.original_files.select("parent is not null").fetchall()
Expand Down

0 comments on commit 0486e99

Please sign in to comment.