Skip to content

Commit

Permalink
Updated test names
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Apr 28, 2024
1 parent 3be04f0 commit ecca86e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_metadata_reader.py
Expand Up @@ -62,8 +62,8 @@

@pytest.mark.skipif(exiftool_path is None, reason="exiftool not installed")
@pytest.mark.usefixtures("set_tz_pacific")
def test_metadata_from_file():
"""Test metadata_from_file"""
def test_metadata_from_exiftool():
"""Test metadata_from_exiftool"""
metadata = metadata_from_exiftool(TEST_IMAGE_1, None)
assert metadata.title == "Waves crashing on rocks"
assert metadata.description == "Used for testing osxphotos"
Expand All @@ -81,8 +81,8 @@ def test_metadata_from_file():


@pytest.mark.skipif(exiftool_path is None, reason="exiftool not installed")
def test_metadata_from_file_person_info():
"""Test metadata_from_file with person info"""
def test_metadata_from_exiftool_person_info():
"""Test metadata_from_exiftool with person info"""
metadata = metadata_from_exiftool(TEST_IMAGE_2, None)
assert sorted(metadata.persons) == ["Katie", "Suzy"]

Expand Down

0 comments on commit ecca86e

Please sign in to comment.