Skip to content

ENH: __verify_trigger method and tests implementation#956

Open
juliomachad0 wants to merge 2 commits intoenh/eventsfrom
enh/events-verigy-triggers-and-actions
Open

ENH: __verify_trigger method and tests implementation#956
juliomachad0 wants to merge 2 commits intoenh/eventsfrom
enh/events-verigy-triggers-and-actions

Conversation

@juliomachad0
Copy link
Copy Markdown
Member

Pull request type

  • Code changes (bugfix, features)

Checklist

  • Tests for the changes have been added (if needed)
  • Lint (black rocketpy/ tests/) has passed locally
  • All tests (pytest tests -m slow --runslow) have passed locally

Current behavior

Verify triggers function not implemented yet.

New behavior

The verify_triggers method was implemented, trying to follow the instructions presented in the TODO. Also, an adaptation of the out_of_rail_trigger method in order to pass in the tests (following the defined standards)

Breaking change

  • No

juliomachad0 and others added 2 commits April 24, 2026 01:11
…out_of_rail_trigger to pass in __verify_trigger

Co-authored-by: Copilot <copilot@github.com>
@juliomachad0 juliomachad0 requested a review from a team as a code owner April 28, 2026 22:48
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

❌ Patch coverage is 62.50000% with 18 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (enh/events@a927248). Learn more about missing BASE report.

Files with missing lines Patch % Lines
rocketpy/simulation/events.py 61.70% 18 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             enh/events     #956   +/-   ##
=============================================
  Coverage              ?   81.06%           
=============================================
  Files                 ?      108           
  Lines                 ?    13948           
  Branches              ?        0           
=============================================
  Hits                  ?    11307           
  Misses                ?     2641           
  Partials              ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant