Feature exportdb update 990 (#992)
* Added cloud_guid, #990 * Added fingerprint, cloud_guid to PhotoInfo.json * Added stub for --migrate-photos-library * Added --migrate-photos-library option to exportdb, #990
This commit is contained in:
@@ -10,6 +10,7 @@ UUID_DICT = {
|
||||
"incloud": "FC638F58-84BE-4083-B5DE-F85BDC729062",
|
||||
"shared": "2094984A-21DC-4A6E-88A6-7344F648B92E",
|
||||
"cloudasset": "FC638F58-84BE-4083-B5DE-F85BDC729062",
|
||||
"cloud_guid": "FC638F58-84BE-4083-B5DE-F85BDC729062",
|
||||
}
|
||||
|
||||
|
||||
@@ -31,3 +32,16 @@ def test_cloudasset_1(photosdb):
|
||||
def test_path_derivatives(photosdb):
|
||||
photo = photosdb.get_photo(UUID_DICT["shared"])
|
||||
assert photo.path_derivatives
|
||||
|
||||
|
||||
def test_cloud_guid(photosdb):
|
||||
photo = photosdb.get_photo(UUID_DICT["cloud_guid"])
|
||||
assert photo.cloud_guid == "AV6qPsEIU88bFVPKfEUjoyspg+d+"
|
||||
|
||||
|
||||
def test_cloud_owner_hashed_id(photosdb):
|
||||
photo = photosdb.get_photo(UUID_DICT["shared"])
|
||||
assert (
|
||||
photo.cloud_owner_hashed_id
|
||||
== "01cac7cde8a8767251a2cdd183b8ed490fc6e87825f4a495389e824a41a01ba7"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user