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

Refactor test_generation.py: Parameterize text model tests and add edge case #224

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 20, 2024

  1. Update test_generation.py

    Refactor test_generation.py: Parameterize text model tests and add edge case
    
    - Used @pytest.mark.parametrize to simplify and reuse dialog tests in TestTextModelInference.
    - Added a new test case for handling empty dialog inputs to improve edge case coverage.
    - Maintained the vision model tests in skipped state with @unittest.skip and @pytest.mark.skip.
    - Improved overall readability and modularity of the test file.
    borgesenioc authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    23f5db9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from borgesenioc/borgesenioc-patch-1

    Update test_generation.py
    borgesenioc authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    9bcd80e View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. Configuration menu
    Copy the full SHA
    be55dab View commit details
    Browse the repository at this point in the history