Updated tests
This commit is contained in:
@@ -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 <command>.",
|
||||
" 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 <command>.",
|
||||
" 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}]'
|
||||
|
||||
Reference in New Issue
Block a user