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

@@ -1,6 +1,6 @@
import pytest
from osxphotos import _UNKNOWN_PERSON
from osxphotos._constants import _UNKNOWN_PERSON
# TODO: put some of this code into a pre-function
@@ -44,6 +44,7 @@ UUID_DICT = {
"location": "3Jn73XpSQQCluzRBMWRsMA",
}
def test_export_1():
# test basic export
# get an unedited image and export it using default filename
@@ -409,5 +410,3 @@ def test_exiftool_json_sidecar():
assert sorted(item[0][1]) == sorted(item[1][1])
else:
assert item[0][1] == item[1][1]
# assert sorted(json_got[0].items()) == sorted(json_expected[0].items())