Skip to content

Commit

Permalink
tests: fix module import issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Holf committed Oct 1, 2024
1 parent 1f0e508 commit a824227
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# serializer version: 1
# name: test_convert_json_to_ical
# name: test_convert_transformed_timetable_to_ical
'''
BEGIN:VCALENDAR
BEGIN:VEVENT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from freezegun import freeze_time

from weduc_timetable_extractor.google_calendar_management import (
from weduc_timetable_extractor.google_calendar_management._convert_transformed_timetable_to_google_calendar_events import (
_convert_transformed_timetable_to_google_calendar_events,
)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_convert_transformed_timetable_to_ical.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from freezegun import freeze_time

from weduc_timetable_extractor.icalendar_management import (
from weduc_timetable_extractor.icalendar_management._convert_transformed_timetable_to_ical import (
_convert_transformed_timetable_to_ical,
)

Expand Down Expand Up @@ -95,7 +95,7 @@


@freeze_time("2024-09-15")
def test_convert_json_to_ical(snapshot):
def test_convert_transformed_timetable_to_ical(snapshot):

result = _convert_transformed_timetable_to_ical(test_timetable)

Expand Down
4 changes: 3 additions & 1 deletion tests/test_filter_and_transform_timetable.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

from freezegun import freeze_time

from weduc_timetable_extractor.weduc_interaction import _filter_and_transform_timetable
from weduc_timetable_extractor.weduc_interaction._filter_and_transform_timetable import (
_filter_and_transform_timetable,
)


@freeze_time("2024-09-15")
Expand Down

0 comments on commit a824227

Please sign in to comment.