nox for backend is almost all green now.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2025-09-30 17:08:39 -04:00
parent 529e0dbcb1
commit 84495d27fb
3 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ from collections.abc import AsyncGenerator
from typing import Any
from typing import List
import asyncpg
import asyncpg # type: ignore[import-untyped]
from fastapi import APIRouter
from fastapi import HTTPException
from fastapi import Query

View File

@@ -10,7 +10,7 @@ from typing import Callable
from typing import TypedDict
from typing import Unpack
import asyncpg
import asyncpg # type: ignore[import-untyped]
from sqlalchemy import and_
from sqlalchemy import delete
from sqlalchemy import func

View File

@@ -23,7 +23,7 @@ from unittest.mock import MagicMock
from unittest.mock import patch
import pytest
from dateutil.parser import isoparse
from dateutil.parser import isoparse # type: ignore[import-untyped]
from sqlalchemy import delete
from sqlalchemy import update
from sqlalchemy.exc import NoResultFound
@@ -607,7 +607,7 @@ async def test_event_publisher_called(
booking_create: BookingCreate,
sample_booking: Booking,
updated_booking: Booking,
update_booking_data: BookingUpdateData,
booking_update_data: BookingUpdateData,
sample_room: Room,
) -> None:
"""Test that event_publisher is called for booking CUD operations.
@@ -620,7 +620,7 @@ async def test_event_publisher_called(
booking_create: The BookingCreate object from conftest.
sample_booking: The sample Booking object from conftest.
updated_booking: The updated Booking object from conftest.
update_booking_data: The booking update data dict from conftest.
booking_update_data: The booking update data dict from conftest.
sample_room: The sample Room object from conftest.
Asserts:
@@ -699,7 +699,7 @@ async def test_event_publisher_called(
result = await update_booking( # type: ignore
async_session,
booking_id,
**update_booking_data,
**booking_update_data,
event_publisher=event_publisher,
)
event_publisher.assert_awaited()