Skip to content

Commit

Permalink
tests/test_{frab_export,schedule}: fix imports of apps.schedule.sched…
Browse files Browse the repository at this point in the history
…ule_frab_xml
  • Loading branch information
Kunsi committed Aug 31, 2024
1 parent d015bb7 commit 33ecbd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_frab_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from lxml import etree

from apps.schedule import event_tz
from apps.schedule.schedule_xml import (
from apps.schedule.schedule_frab_xml import (
make_root,
add_day,
add_room,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest

from apps.schedule import schedule_xml
from apps.schedule import schedule_frab_xml


@pytest.mark.parametrize('start_time, end_time, expected', [
Expand All @@ -17,4 +17,4 @@ def test_get_duration(start_time, end_time, expected):
fmt = '%Y-%m-%d %H:%M:%S'
start_time = datetime.strptime(start_time, fmt)
end_time = datetime.strptime(end_time, fmt)
assert schedule_xml.get_duration(start_time, end_time) == expected
assert schedule_frab_xml.get_duration(start_time, end_time) == expected

0 comments on commit 33ecbd2

Please sign in to comment.