test(07.3-01): extend test_settings_has_jwt_config — red until Plan 02
- Assert settings.refresh_token_expire_hours == 16 (CFG-01 / D-09) - Assert hasattr(settings, "jwt_private_key") (CFG-01 / D-01) - Assert hasattr(settings, "jwt_public_key") (CFG-01 / D-01) - Existing refresh_token_expire_days == 30 assertion preserved (Pitfall 5) - Test intentionally fails until Plan 02 adds the three new config fields
This commit is contained in:
@@ -29,6 +29,10 @@ def test_settings_has_jwt_config():
|
||||
assert settings.access_token_expire_minutes == 15
|
||||
assert hasattr(settings, "refresh_token_expire_days")
|
||||
assert settings.refresh_token_expire_days == 30
|
||||
assert hasattr(settings, "refresh_token_expire_hours")
|
||||
assert settings.refresh_token_expire_hours == 16
|
||||
assert hasattr(settings, "jwt_private_key")
|
||||
assert hasattr(settings, "jwt_public_key")
|
||||
|
||||
|
||||
def test_settings_has_smtp_config():
|
||||
|
||||
Reference in New Issue
Block a user