Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Run pre commit manually to fix linting and sorting issues

Omri Grossmane8aaba9ce2c0
diff --git a/tests/unit/test_spinner.py b/tests/unit/test_spinner.py
index 1e6d3b6e9e..ec75a68779 100644
--- a/tests/unit/test_spinner.py
+++ b/tests/unit/test_spinner.py
@@ -1,10 +1,8 @@
-
# Generated by CodiumAI
import time
import unittest
-from autogpt.spinner import Spinner
-
+from autogpt.spinner import Spinner
"""
Code Analysis
@@ -30,8 +28,8 @@ Fields:
ALMOST_DONE_MESSAGE = "Almost done..."
PLEASE_WAIT = "Please wait..."
-class TestSpinner(unittest.TestCase):
+class TestSpinner(unittest.TestCase):
# Tests that the spinner initializes with default values.
def test_spinner_initializes_with_default_values(self):
with Spinner() as spinner:
@@ -63,6 +61,7 @@ class TestSpinner(unittest.TestCase):
self.assertFalse(spinner.running)
# Tests that the spinner can be used as a context manager.
+
def test_spinner_can_be_used_as_context_manager(self):
with Spinner() as spinner:
self.assertTrue(spinner.running)