Skip to content

Commit

Permalink
Update test_gpt_cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dciborow committed May 8, 2023
1 parent 11bd433 commit 3b35edd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/test_gpt_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ class CLICase:
CLICase(
"ask --files src/gpt_review/main.py --files src/gpt_review/main.py what programming language is this code written in?"
),
CLICase("git commit --help"),
# CLICase("git commit"),
CLICase("github review --help"),
CLICase("github review"),
CLICase(
Expand All @@ -115,13 +113,20 @@ class CLICase:
CLICase("ask --fast -f src/gpt_review/__init__.py what programming language is this code written in?"),
]

GIT_COMMANDS = [
CLICase("git commit --help"),
# CLICase("git commit"),
# CLICase("git commit --large"),
# CLICase("git commit --gpt4"),
]

REVIEW_COMMANDS = [
CLICase("review --help"),
CLICase("review diff --help"),
CLICase("review diff --diff tests/mock.diff --config tests/config.summary.test.yml"),
]

ARGS = ROOT_COMMANDS + ASK_COMMANDS + REVIEW_COMMANDS
ARGS = ROOT_COMMANDS + ASK_COMMANDS + GIT_COMMANDS + REVIEW_COMMANDS


def gpt_cli_test(command: CLICase) -> None:
Expand Down

0 comments on commit 3b35edd

Please sign in to comment.