From ddf13110e9c2bd59587af36fcdfe40fb40806f9e Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 6 Oct 2026 11:12:07 -0400 Subject: [PATCH] test(models): the user column set includes auth_source and external_id (#5036) Co-Authored-By: Claude Opus 5.5 --- tests/test_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_models.py b/tests/test_models.py index 50a074b..24a727c 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -4,7 +4,8 @@ from steward.models.users import User, UserRole def test_user_model_fields(): """User model has all required fields.""" cols = {c.key for c in User.__table__.columns} - assert cols == {"id", "username", "email", "password_hash", "role", "created_at", "is_active"} + assert cols == {"id", "username", "email", "password_hash", "role", "created_at", "is_active", + "auth_source", "external_id"} def test_user_role_enum():