Skip to content

wrote show provider menu

Meghan Leicht requested to merge provider-menu into main

Description

I implemented the function show_provider_menu() in provider.py

Changes Made

I tried to make it fancy but we can get rid of it if you hate it. I used something called ANSI escape code to format the text that the provider will see. I learned this from a TA in 302

Screenshots / Snippets (if applicable)

This is the expected output: Screenshot_2023-11-17_at_12.08.12_PM

Test Plan

I went to stackoverflow and learned about the capfd fixture. Capfd captures standard output and error and it allows you to check the output that is printed.

Checklist

  • Code follows the project's coding style and conventions.
  • Automated tests for the changes have been added or existing tests have been updated.
  • Code coverage for new or modified code is maintained or improved.
  • The code builds and runs without errors or warnings.
  • Documentation has been updated to reflect the changes made.
  • All discussions and feedback on the PR have been addressed.
  • CI/CD pipelines pass successfully, including any required checks or tests.
  • The PR has been reviewed and approved by the designated reviewers.

Merge request reports

Loading