Changed PhotosDB albums interface as prep for adding folders

This commit is contained in:
Rhet Turnbull
2020-04-10 17:30:37 -07:00
parent 626e460aab
commit 3e5062684a
13 changed files with 78 additions and 56 deletions

View File

@@ -52,12 +52,12 @@ def test_keywords():
assert photosdb.keywords == []
def test_albums():
def test_album_names():
import osxphotos
import collections
photosdb = osxphotos.PhotosDB(dbfile=PHOTOS_DB)
assert photosdb.albums == []
assert photosdb.album_names == []
def test_keywords_dict():