Commit e9011de
committed
test(calendar): TZ-aware datetime in deletable_event_uid fixture
Carry-over from PR #1415 — use datetime.now(UTC) instead of naive
datetime.now() in the fixture so ISO 8601 strings stay unambiguous
when the test runner and HA instance are in different timezones.
Matches the convention in tests/src/e2e/workflows/core/test_history.py.
Pre-existing naive datetime.now() calls elsewhere in this file are
unchanged — format-debt tracked broadly at #1318.1 parent c51b6d8 commit e9011de
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
332 | 335 | | |
333 | 336 | | |
334 | 337 | | |
| |||
0 commit comments