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:
curo1305
2026-06-06 16:50:32 +02:00
parent 5c1a1f9504
commit fac0e781f9
@@ -29,6 +29,10 @@ def test_settings_has_jwt_config():
assert settings.access_token_expire_minutes == 15 assert settings.access_token_expire_minutes == 15
assert hasattr(settings, "refresh_token_expire_days") assert hasattr(settings, "refresh_token_expire_days")
assert settings.refresh_token_expire_days == 30 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(): def test_settings_has_smtp_config():