Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[uss_qualifier] MockUssClient and test steps with FlightPlannerClient #347

Merged
merged 19 commits into from
Nov 20, 2023

Conversation

punamverma
Copy link
Contributor

  1. Added V1FlightPlannerClient to MockUssClient, as we ll use MockUssClient for planning flights in test scenarios.
  2. Added tests steps that use V1FlightPlannerClient for planning flights.

@punamverma punamverma changed the title MockUssClient and test steps with FlightPlannerClient [uss_qualifier] MockUssClient and test steps with FlightPlannerClient Nov 16, 2023
@punamverma punamverma marked this pull request as ready for review November 16, 2023 16:52
@punamverma
Copy link
Contributor Author

@BenjaminPelletier PR is ready for review. Thanks

Copy link
Member

@BenjaminPelletier BenjaminPelletier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to the comments below, we want to make sure the code works. Since these steps are being developed for a scenario that is already documented and already has an empty implementation, it should only take a few lines to call the new steps (plan_flight and cleanup_flights_fp_client) from that scenario so that nearly all of the code in the PR is actually exercised by the CI. We don't need to implement all steps of that scenario in this PR, but calling each of these two new steps once would provide nearly full test coverage of the changes in this PR.

@punamverma
Copy link
Contributor Author

@BenjaminPelletier Fixed the review comments. Added some steps in scenario to use the new test_steps methods. Could you please check. Thanks.

@punamverma
Copy link
Contributor Author

@BenjaminPelletier @barroco @mickmis PR is ready for your review. Thanks

@punamverma
Copy link
Contributor Author

@BenjaminPelletier @barroco @mickmis Fixed PR comments. Ready for another review.

@BenjaminPelletier BenjaminPelletier merged commit 58fdbcb into interuss:main Nov 20, 2023
8 checks passed
github-actions bot added a commit that referenced this pull request Nov 20, 2023
…#347)

* Added V1FlightPlannerClient to MockUssClient; added test steps to plan flight using FlightPlannerClient

* Removing unwanted port mapping

* Removing unwanted import

* Update monitoring/uss_qualifier/resources/interuss/mock_uss/client.py

Co-authored-by: Benjamin Pelletier <[email protected]>

* Fixing per PR review comments

* Remove an unwanted import

* Adding missing code

* Removing code causing failure

* Fix bug

* Fix format

* Fix bug

* Update monitoring/uss_qualifier/scenarios/flight_planning/test_steps.py

Co-authored-by: Benjamin Pelletier <[email protected]>

* Fixing PR review comments

* Removing if condition not required

* Fix per PR review

* Nit fix per review

---------

Co-authored-by: Benjamin Pelletier <[email protected]> 58fdbcb
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.

2 participants