def test_unsupported_task_details_for_markup(app: Flask, url: str, description: str) -> None: with app.app_context(): expected = EXPECTED_STRING_PLACEHOLDER.format(url, url) actual = task_details_for_markup(SOURCE_STRING_PLACEHOLDER.format(url)) assert expected != actual
def test_supported_task_details_for_markup(url: str, description: str) -> None: expected = EXPECTED_STRING_PLACEHOLDER.format(url, url) actual = task_details_for_markup(SOURCE_STRING_PLACEHOLDER.format(url)) assert expected == actual