Fixed bug in PhotosDB.__repr__ and added test for empty database

This commit is contained in:
Rhet Turnbull
2019-12-27 16:05:49 -08:00
parent 5bec99eac9
commit db3416903e
34 changed files with 272 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ import pytest
# TODO: put some of this code into a pre-function
PHOTOS_DB = "./tests/Test-Shared-10.15.1.photoslibrary/database/photos.db"
PHOTOS_DB_PATH = "/Test-Shared-10.15.1.photoslibrary/database/Photos.sqlite"
PHOTOS_DB_PATH = "/Test-Shared-10.15.1.photoslibrary/database/photos.db"
PHOTOS_LIBRARY_PATH = "/Test-Shared-10.15.1.photoslibrary"
KEYWORDS = ["portrait"]