Commit 9fb6905
fix: address second round of Copilot review comments
- Fix date→datetime promotion: use isinstance checks instead of
hasattr(tzinfo) which doesn't work for plain date objects
- Use param.default_unit for unit fallback instead of hardcoded ug/L
- Parse BDD AnalysisDate as date (not datetime) to match DB column type
- Guard after_scenario cleanup to skip DB session when no fixtures created
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2d6cd6e commit 9fb6905
3 files changed
Lines changed: 16 additions & 16 deletions
File tree
- tests/features
- steps
- transfers/backfill
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
771 | | - | |
| 771 | + | |
| 772 | + | |
772 | 773 | | |
773 | 774 | | |
774 | | - | |
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
| 825 | + | |
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
| 830 | + | |
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
| 401 | + | |
411 | 402 | | |
412 | 403 | | |
413 | 404 | | |
414 | 405 | | |
415 | 406 | | |
416 | | - | |
417 | | - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
418 | 415 | | |
419 | 416 | | |
420 | 417 | | |
421 | 418 | | |
422 | 419 | | |
423 | 420 | | |
424 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
0 commit comments