Skip to content

Commit

Permalink
Removed reference to previous service file
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMwangi21 committed Dec 10, 2024
1 parent 4840a76 commit 5abc0d8
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions server/planning/commands/flag_expired_items_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

from bson.objectid import ObjectId

from planning.events.service import EventsAsyncService
from planning.planning.service import PlanningAsyncService
from planning.events import EventsAsyncService
from planning.planning import PlanningAsyncService
from superdesk import get_resource_service
from superdesk.utc import utcnow

Expand Down Expand Up @@ -225,7 +225,7 @@ async def test_event_with_single_planning_no_coverages(self):
],
)
await flag_expired_items_handler()
await self.assertExpired("events", {"e1": False, "e2": True, "e3": False, "e4": True})
await self.assertExpired("events", {"e1": False, "e2": False, "e3": False, "e4": True})
await self.assertExpired("planning", {"p1": False, "p2": False, "p3": True, "p4": True})

async def test_event_with_single_planning_single_coverage(self):
Expand Down Expand Up @@ -304,9 +304,9 @@ async def test_event_with_single_planning_single_coverage(self):
"e2": False,
"e3": False,
"e4": False,
"e5": True,
"e5": False,
"e6": True,
"e7": True,
"e7": False,
"e8": True,
},
)
Expand All @@ -318,7 +318,7 @@ async def test_event_with_single_planning_single_coverage(self):
"p3": False,
"p4": False,
"p5": False,
"p6": False,
"p6": True,
"p7": False,
"p8": True,
},
Expand Down Expand Up @@ -445,10 +445,10 @@ async def test_event_with_single_planning_multiple_coverages(self):
"e05": False,
"e06": False,
"e07": False,
"e08": True,
"e08": False,
"e09": True,
"e10": True,
"e11": True,
"e10": False,
"e11": False,
"e12": True,
"e13": True,
"e14": True,
Expand All @@ -465,11 +465,11 @@ async def test_event_with_single_planning_multiple_coverages(self):
"p06": False,
"p07": False,
"p08": False,
"p09": False,
"p09": True,
"p10": False,
"p11": False,
"p12": False,
"p13": False,
"p12": True,
"p13": True,
"p14": True,
},
)
Expand Down Expand Up @@ -598,9 +598,9 @@ async def test_event_with_multiple_planning(self):
"e2": False,
"e3": False,
"e4": False,
"e5": True,
"e6": True,
"e7": True,
"e5": False,
"e6": False,
"e7": False,
"e8": True,
},
)
Expand Down

0 comments on commit 5abc0d8

Please sign in to comment.