We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(env) (base) odai:cli/ (main✗) $ pytest [17:34:50] ===================================================================================================================== test session starts ====================================================================================================================== platform darwin -- Python 3.9.12, pytest-7.4.0, pluggy-1.0.0 rootdir: /Users/odai/magic-commit/cli plugins: dotenv-0.5.2, anyio-3.6.2 collected 3 items magic_commit/tests/test_magic_commit.py ..F [100%] =========================================================================================================================== FAILURES =========================================================================================================================== ___________________________________________________________________________________________________________ test_generate_commit_message_no_api_key ____________________________________________________________________________________________________________ def test_generate_commit_message_no_api_key(): with pytest.raises(OpenAIKeyError): > generate_commit_message("test message", "", "gpt-3.5-turbo") E TypeError: generate_commit_message() missing 2 required positional arguments: 'api_key' and 'model' magic_commit/tests/test_magic_commit.py:25: TypeError =================================================================================================================== short test summary info ==================================================================================================================== FAILED magic_commit/tests/test_magic_commit.py::test_generate_commit_message_no_api_key - TypeError: generate_commit_message() missing 2 required positional arguments: 'api_key' and 'model' ================================================================================================================= 1 failed, 2 passed in 0.34s ==================================================================================================================
The text was updated successfully, but these errors were encountered:
We should fix this while doing #7
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: