@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user