Skip to content

Commit

Permalink
Update tests/unit/orchestration/prefect/test_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Zawadzki <[email protected]>
  • Loading branch information
Rafalz13 and trymzet authored Nov 4, 2024
1 parent 0f34add commit ebb6936
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/unit/orchestration/prefect/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ def test_process_dates_multiple(setup_dates):
assert replaced_text == expected_text


def test_process_dates(setup_dates):
"""Test if process_dates function replaces multiple placeholders."""
text = "The hour and minute are <<now_time>>"
replaced_text = ddh1.process_dates(text)
expected_text = f"The hour and minute are {setup_dates['now_time'][:-2]}"
replaced_text = replaced_text[:-2]
assert replaced_text == expected_text


def test_process_dates_with_custom_symbols(setup_dates):
"""Test if process_dates function works with custom start and end symbols."""
text = "The year is [[current_year]]."
Expand Down

0 comments on commit ebb6936

Please sign in to comment.