fixed formatting (#1096)

This commit is contained in:
Rhet Turnbull
2023-06-18 16:22:46 -07:00
committed by GitHub
parent 492e1edb7f
commit 2c80226ec8
88 changed files with 187 additions and 189 deletions

View File

@@ -91,11 +91,12 @@ def test_dump_field(photos):
"name",
"{photo.original_filename}",
],
)
)
assert result.exit_code == 0
for photo in photos:
assert f"{photo.uuid},{photo.original_filename}" in result.output
def test_dump_field_json(photos):
"""Test osxphotos dump --field --jso"""
runner = CliRunner()
@@ -117,7 +118,7 @@ def test_dump_field_json(photos):
"{photo.original_filename}",
"--json",
],
)
)
assert result.exit_code == 0
json_data = {record["uuid"]: record for record in json.loads(result.output)}
for photo in photos: