Skip to content

Commit ec8afb5

Browse files
committed
Add a non-renamed field in tests
1 parent e66a0a5 commit ec8afb5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

graphene_sqlalchemy/tests/models.py

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class Article(Base):
5858
__tablename__ = "articles"
5959
id = Column(Integer(), primary_key=True)
6060
headline = Column(String(100))
61+
description = Column(String(100))
6162
pub_date = Column(Date())
6263
reporter_id = Column(Integer(), ForeignKey("reporters.id"))
6364

graphene_sqlalchemy/tests/test_types.py

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ class Meta:
9090
assert list(Human._meta.fields) == [
9191
"id",
9292
"headline",
93+
"description",
9394
"pub_date",
9495
"reporter_id",
9596
"reporter",

0 commit comments

Comments
 (0)