Skip to content

Commit 20f82d4

Browse files
authored
Merge pull request #5 from flowdacity/test/coverage
Add tests to cover exception and edge cases in server routes
2 parents 4097592 + ccf164e commit 20f82d4

File tree

2 files changed

+398
-3
lines changed

2 files changed

+398
-3
lines changed

fq_server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def requeue_with_lock(self):
8383
@asynccontextmanager
8484
async def _lifespan(self, app: Starlette):
8585
# --- startup ---
86-
await self.queue._initialize()
86+
await self.queue.initialize()
8787
# mimic original behavior: use requeue_with_lock loop
8888
self._requeue_task = asyncio.create_task(self.requeue_with_lock())
8989

0 commit comments

Comments
 (0)