Updated search info for Ventura, #937 (#943)

This commit is contained in:
Rhet Turnbull
2023-01-21 10:29:31 -08:00
committed by GitHub
parent 8c46b8e545
commit 69eb4b070c
13 changed files with 265 additions and 100 deletions

View File

@@ -57,6 +57,10 @@ def test_db_version(photosdb):
assert photosdb.db_version == "2622"
def test_photos_version(photosdb):
assert photosdb.photos_version == 2
def test_persons(photosdb):
assert "Katie" in photosdb.persons

View File

@@ -268,6 +268,10 @@ def test_db_version(photosdb):
assert photosdb.db_version == "6000"
def test_photos_version(photosdb):
assert photosdb.photos_version == 6
def test_persons(photosdb):
import collections

View File

@@ -358,6 +358,10 @@ def test_persons(photosdb):
assert Counter(PERSONS) == Counter(photosdb.persons)
def test_photos_version(photosdb):
assert photosdb.photos_version == 5
def test_keywords(photosdb):
assert "wedding" in photosdb.keywords

View File

@@ -47,6 +47,10 @@ def test_db_version(photosdb):
# assert photosdb.db_version in osxphotos._TESTED_DB_VERSIONS
def test_photos_version(photosdb):
assert photosdb.photos_version == 3
def test_persons(photosdb):
import collections

View File

@@ -183,6 +183,10 @@ def test_db_version(photosdb):
assert photosdb.db_version == "4025"
def test_photos_version(photosdb):
assert photosdb.photos_version == 4
def test_db_len(photosdb):
# assert photosdb.db_version in osxphotos._TESTED_DB_VERSIONS
assert len(photosdb) == PHOTOS_DB_LEN

View File

@@ -302,6 +302,10 @@ def test_db_version(photosdb):
assert photosdb.db_version == "6000"
def test_photos_version(photosdb):
assert photosdb.photos_version == 7
def test_persons(photosdb):
assert "Katie" in photosdb.persons

View File

@@ -215,8 +215,8 @@ UUID_SEARCH_INFO = {
"place_names": ["River Torrens/Karrawirra Parri"],
"streets": ["River Torrens Linear Park Trl"],
"neighborhoods": ["Central Ward"],
"city": "",
"locality_names": ["Adelaide", "South Australia"],
"city": "Adelaide",
"locality_names": [],
"state": "Adelaide",
"state_abbreviation": "SA",
"country": "Australia",
@@ -231,6 +231,7 @@ UUID_SEARCH_INFO = {
"media_types": [],
"detected_text": [],
"camera": "Apple iPhone 6s",
"source": "",
}
}
@@ -316,6 +317,10 @@ def test_db_version(photosdb):
assert photosdb.db_version == "6000"
def test_photos_version(photosdb):
assert photosdb.photos_version == 8
def test_persons(photosdb):
import collections

View File

@@ -270,6 +270,10 @@ def test_db_version(photosdb):
assert photosdb.db_version == "6000"
def test_photos_version(photosdb):
assert photosdb.photos_version == 8
def test_persons(photosdb):
import collections