Fixed path_edited() for Photos 4.0

This commit is contained in:
Rhet Turnbull
2019-11-30 10:54:43 -08:00
parent 01b2f4420f
commit 37dfc1e151
3 changed files with 125 additions and 25 deletions

View File

@@ -238,11 +238,7 @@ def test_path_edited1():
assert len(photos) == 1
p = photos[0]
path = p.path_edited()
assert path is None
# TODO: update when implemented
# assert path.endswith(
# "resources/renders/E/E9BC5C36-7CD1-40A1-A72B-8B8FAC227D51_1_201_a.jpeg"
# )
assert path.endswith("resources/media/version/00/00/fullsizeoutput_9.jpeg")
def test_path_edited2():