feat: increase RTT from 18 to 19
- Update LeaveBalance model default rtt_total to 19 - Update all tests to verify 19 RTT instead of 18 - Update documentation (design and technical plan) - Update run.py to bind to 0.0.0.0 for external access - Update CLAUDE.md deployment instructions Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -454,7 +454,7 @@ class LeaveBalance(db.Model):
|
||||
id: so.Mapped[int] = so.mapped_column(primary_key=True)
|
||||
year: so.Mapped[int] = so.mapped_column(sa.Integer, unique=True, nullable=False)
|
||||
conges_total: so.Mapped[int] = so.mapped_column(sa.Integer, default=28)
|
||||
rtt_total: so.Mapped[int] = so.mapped_column(sa.Integer, default=18)
|
||||
rtt_total: so.Mapped[int] = so.mapped_column(sa.Integer, default=19)
|
||||
```
|
||||
|
||||
**Step 2: Vérifier la création des tables**
|
||||
@@ -769,7 +769,7 @@ def test_get_or_create_balance_creates_default(app):
|
||||
balance = get_or_create_balance(2025)
|
||||
assert balance.year == 2025
|
||||
assert balance.conges_total == 28
|
||||
assert balance.rtt_total == 18
|
||||
assert balance.rtt_total == 19
|
||||
|
||||
|
||||
def test_get_or_create_balance_returns_existing(app):
|
||||
|
||||
Reference in New Issue
Block a user