• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ArduPilot / MethodicConfigurator / 27096287539

07 Jun 2026 03:08PM UTC coverage: 94.444% (+0.003%) from 94.441%
27096287539

push

github

amilcarlucas
fix(param-editor): guard against silent overwrite in connection rename refresh

Add conflict checks in `_refresh_current_step_connection_renames()` so that
a rename is skipped (with a warning) when `new_target` already exists in
`current_step_parameters` as an unrelated parameter, preventing silent data
loss on both the "target changed" and "new rename" branches.

Add six BDD-style unit tests in `TestRefreshConnectionRenames` covering:
- eval failure leaves state unchanged
- normal new rename applies correctly
- new rename skipped when target already exists (fix)
- rename undone when expression no longer applies
- rename retargeted when destination changes
- retarget skipped when new target already exists (fix)

1948 of 2020 branches covered (96.44%)

12425 of 13156 relevant lines covered (94.44%)

2.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

82.75
/data_model_parameter_editor.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc