From dabc346028ae7f0a245e877877c16497133ddf34 Mon Sep 17 00:00:00 2001 From: agmes4 Date: Tue, 2 Jan 2024 23:54:22 +0100 Subject: [PATCH] fixed test do to removal of Row I needed to add the TableRow for import --- tests/blueprints/usersuite/test_usersuite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/blueprints/usersuite/test_usersuite.py b/tests/blueprints/usersuite/test_usersuite.py index 962891a1..fbbfb930 100644 --- a/tests/blueprints/usersuite/test_usersuite.py +++ b/tests/blueprints/usersuite/test_usersuite.py @@ -8,7 +8,7 @@ from sipa.blueprints.usersuite import get_attribute_endpoint from sipa.model.fancy_property import PropertyBase -from sipa.model.user import Row +from sipa.model.user import TableRow from tests.assertions import TestClient, RenderedTemplate @@ -49,8 +49,8 @@ def usersuite_response(_usersuite_index): @pytest.fixture(scope="module") -def usersuite_passed_rows(_usersuite_index) -> list[Row]: - return t.cast(list[Row], _usersuite_index[1].context["rows"]) +def usersuite_passed_rows(_usersuite_index) -> list[TableRow]: + return t.cast(list[TableRow], _usersuite_index[1].context["rows"]) @pytest.mark.parametrize(