Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
do to removal of Row I needed to add the TableRow for import
  • Loading branch information
agmes4 committed Jan 2, 2024
1 parent 6e656e9 commit dabc346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/blueprints/usersuite/test_usersuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit dabc346

Please sign in to comment.