Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
jowilf committed Jul 2, 2024
1 parent 4e37f3c commit b78d323
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/sqla/test_view_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from sqlalchemy.engine import Engine
from sqlalchemy.orm import Session, declarative_base, relationship
from starlette.applications import Starlette
from starlette_admin import StringField
from starlette_admin.contrib.sqla import Admin
from starlette_admin.contrib.sqla.view import ModelView

Expand Down Expand Up @@ -39,7 +38,7 @@ class Membership(Base):


class UserView(ModelView):
fields = [StringField("name"), "membership"]
fields = ["name", "membership"]


@pytest.fixture
Expand Down

0 comments on commit b78d323

Please sign in to comment.