Skip to content

Commit

Permalink
🎨 Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafalz13 authored and trymzet committed Nov 6, 2024
1 parent 05614c0 commit 243a1f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/viadot/orchestration/prefect/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ def _process_string(self, text: str) -> list[str] | str:
It bases on specific patterns or pendulum dates.
Args:
text (str): A string containing various time-related patterns to be analyzed.
text (str): A string containing various time-related patterns
to be analyzed.
Returns:
list or string:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/orchestration/prefect/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_process_eval_date_success(setup_dates):
assert replaced_text == expected_text


def test_process_eval_date_fail(setup_dates):
def test_process_eval_date_fail():
"""Test if process_dates function works with a pendulum code."""
text = "Yesterday was <<(pendulum.today().subtract(days=1))>>." # It should not start with `(`
with pytest.raises(TypeError):
Expand Down

0 comments on commit 243a1f0

Please sign in to comment.