Restructured entire code base to make it easier to maintain. Closes #16

This commit is contained in:
Rhet Turnbull
2019-12-21 08:06:25 -08:00
parent cd51782ef2
commit b794e226e3
14 changed files with 1814 additions and 1777 deletions

View File

@@ -50,8 +50,8 @@ def test_db_version():
def test_os_version():
import osxphotos
(_, major, _) = osxphotos._get_os_version()
assert major in osxphotos._TESTED_OS_VERSIONS
(_, major, _) = osxphotos.utils._get_os_version()
assert major in osxphotos._constants._TESTED_OS_VERSIONS
def test_persons():
@@ -170,4 +170,3 @@ def test_keyword_not_in_album():
photos3 = [p for p in photos2 if p not in photos1]
assert len(photos3) == 1
assert photos3[0].uuid() == "Pj99JmYjQkeezdY2OFuSaw"