Skip to content

Commit

Permalink
temp test removal
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Nov 24, 2023
1 parent 6fefff9 commit d53f721
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -1189,13 +1189,13 @@ def test_function(photosdb):
assert rendered == [f"{photo.original_filename}-FOO"]


def test_function_url(photosdb):
"""Test {function}"""
photo = photosdb.get_photo(UUID_DICT["favorite"])
rendered, _ = photo.render_template(
"{function:https://raw.githubusercontent.com/RhetTbull/osxphotos/main/examples/template_function.py::example}"
)
assert rendered == [f"{pathlib.Path(photo.original_filename).stem}#!"]
# def test_function_url(photosdb):
# """Test {function}"""
# photo = photosdb.get_photo(UUID_DICT["favorite"])
# rendered, _ = photo.render_template(
# "{function:https://raw.githubusercontent.com/RhetTbull/osxphotos/main/examples/template_function.py::example}"
# )
# assert rendered == [f"{pathlib.Path(photo.original_filename).stem}#!"]


def test_function_bad(photosdb):
Expand Down

0 comments on commit d53f721

Please sign in to comment.