From e3c40bcbaaf3560d53091cf46ed851d90ff82cfa Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sat, 8 Feb 2020 07:28:47 -0800 Subject: [PATCH] Cleaned up comments and unneeded test code --- osxphotos/photoinfo.py | 1 - tests/test_export_catalina_10_15_1.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/osxphotos/photoinfo.py b/osxphotos/photoinfo.py index 77ed2587..4164c015 100644 --- a/osxphotos/photoinfo.py +++ b/osxphotos/photoinfo.py @@ -611,7 +611,6 @@ class PhotoInfo: filestem = dest.stem else: # didn't get passed a filename, add _edited - # TODO: add a test for this filestem = f"{dest.stem}_edited" exported = _export_photo_uuid_applescript( self.uuid, diff --git a/tests/test_export_catalina_10_15_1.py b/tests/test_export_catalina_10_15_1.py index f15b102d..9fde2132 100644 --- a/tests/test_export_catalina_10_15_1.py +++ b/tests/test_export_catalina_10_15_1.py @@ -6,8 +6,6 @@ from osxphotos.utils import dd_to_dms_str # TODO: put some of this code into a pre-function PHOTOS_DB = "./tests/Test-10.15.1.photoslibrary/database/photos.db" -PHOTOS_DB_PATH = "/Test-10.15.1.photoslibrary/database/photos.db" -PHOTOS_LIBRARY_PATH = "/Test-10.15.1.photoslibrary" KEYWORDS = [ "Kids",