Skip to content

Commit

Permalink
Reset counter
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Jun 2, 2024
1 parent 47e73a0 commit 7263015
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_cli_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -1729,6 +1729,9 @@ def test_import_edited_without_aae(tmp_path):
def test_import_edited_renamed_with_aae(tmp_path):
"""Test import of image with edited file and AAE sidecar that needs to be renamed to be recognized by Photos as edited pair"""

# reset the counter in import_cli
import_cli._global_image_counter = 1

cwd = os.getcwd()
source_image_original = os.path.join(cwd, TEST_IMAGE_WITH_EDIT_ORIGINAL)
source_image_edited = os.path.join(cwd, TEST_IMAGE_WITH_EDIT_EDITED)
Expand Down

0 comments on commit 7263015

Please sign in to comment.