From d59852f594c32085eaf034e55a907112a1dad003 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Fri, 24 Dec 2021 17:21:13 -0800 Subject: [PATCH] Updated tests --- tests/test_cli.py | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 45e57ffb..d5199938 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -59,17 +59,19 @@ CLI_OUTPUT_NO_SUBCOMMAND = [ "-v, --version Show the version and exit.", "-h, --help Show this message and exit.", "Commands:", - " albums Print out albums found in the Photos library.", - " dump Print list of all photos & associated info from the Photos", - " export Export photos from the Photos database.", - " help Print help; for help on commands: help .", - " info Print out descriptive info of the Photos library database.", - " keywords Print out keywords found in the Photos library.", - " labels Print out image classification labels found in the Photos", - " list Print list of Photos libraries found on the system.", - " persons Print out persons (faces) found in the Photos library.", - " places Print out places found in the Photos library.", - " query Query the Photos database using 1 or more search options; if", + " albums Print out albums found in the Photos library.", + " dump Print list of all photos & associated info from the Photos", + " export Export photos from the Photos database.", + " help Print help; for help on commands: help .", + " info Print out descriptive info of the Photos library database.", + " install Install Python packages into the same environment as osxphotos", + " keywords Print out keywords found in the Photos library", + " labels Print out image classification labels found in the Photos", + " list Print list of Photos libraries found on the system.", + " persons Print out persons (faces) found in the Photos library.", + " places Print out places found in the Photos library.", + " query Query the Photos database using 1 or more search options; if", + " uninstall Uninstall Python packages from the osxphotos environment", ] CLI_OUTPUT_QUERY_UUID = '[{"uuid": "D79B8D77-BFFC-460B-9312-034F2877D35B", "filename": "D79B8D77-BFFC-460B-9312-034F2877D35B.jpeg", "original_filename": "Pumkins2.jpg", "date": "2018-09-28T16:07:07-04:00", "description": "Girl holding pumpkin", "title": "I found one!", "keywords": ["Kids"], "albums": ["Pumpkin Farm", "Test Album", "Multi Keyword"], "persons": ["Katie"], "path": "/tests/Test-10.15.7.photoslibrary/originals/D/D79B8D77-BFFC-460B-9312-034F2877D35B.jpeg", "ismissing": false, "hasadjustments": false, "external_edit": false, "favorite": false, "hidden": false, "latitude": 41.256566, "longitude": -95.940257, "path_edited": null, "shared": false, "isphoto": true, "ismovie": false, "uti": "public.jpeg", "burst": false, "live_photo": false, "path_live_photo": null, "iscloudasset": false, "incloud": null}]'