From 349883b74ce8acb06a363fefba0b0c4d2c442396 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 5 Jul 2024 17:41:37 -0300 Subject: [PATCH] cleanup --- aider/tests/test_help.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/aider/tests/test_help.py b/aider/tests/test_help.py index 133b2b18e..99113d61c 100644 --- a/aider/tests/test_help.py +++ b/aider/tests/test_help.py @@ -1,14 +1,12 @@ import unittest -from unittest.mock import patch, MagicMock + from aider.help import Help + class TestHelp(unittest.TestCase): - - def setUp(self): - self.help = Help() - def test_init(self): - self.assertIsNotNone(self.help.retriever) + help_inst = Help() + self.assertIsNotNone(help_inst.retriever) def test_ask_without_mock(self): help_instance = Help() @@ -28,5 +26,6 @@ class TestHelp(unittest.TestCase): # Assert that there are more than 5 entries self.assertGreater(result.count("