Skip to content

Commit

Permalink
🎨 Modified imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafalz13 committed Nov 5, 2024
1 parent ebb6936 commit 4e375d2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/unit/orchestration/prefect/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
import pendulum
import pytest

from viadot.utils import skip_test_on_missing_extra
from viadot.orchestration.prefect.utils import DynamicDateHandler


try:
from viadot.orchestration.prefect.utils import DynamicDateHandler
except ImportError:
skip_test_on_missing_extra(
source_name="DynamicDateHandler", extra="dynamicDateHandler"
)

ddh1 = DynamicDateHandler(
["<<", ">>"], dynamic_date_format="%Y%m%d", dynamic_date_timezone="Europe/Warsaw"
)
Expand Down

0 comments on commit 4e375d2

Please sign in to comment.