Skip to content

Commit

Permalink
pylint..
Browse files Browse the repository at this point in the history
  • Loading branch information
sydp committed Dec 22, 2024
1 parent d539357 commit c327b87
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/lib/processors/llmproviders/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ def test_generate_with_history(self, mock_gen_model, mock_gen_config):
values={'GOOGLE_API_KEY': 'fake_env_key'},
clear=True
)
@mock.patch('google.generativeai.configure')
@mock.patch('google.generativeai.GenerativeModel', autospec=True)
def test_generate_from_template(self, mock_gen_model, mock_config):
def test_generate_from_template(self):
"""Tests the GenerateFromTemplate method."""
provider = gemini.GeminiLLMProvider()
mock_generate = mock.Mock()
Expand Down

0 comments on commit c327b87

Please sign in to comment.