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.

Add missing test decorator (#2989)

Richard Beales9ed2a7a2d24c
diff --git a/tests/unit/test_setup.py b/tests/unit/test_setup.py
index 1e718bf95e..daf8524acc 100644
--- a/tests/unit/test_setup.py
+++ b/tests/unit/test_setup.py
@@ -12,6 +12,7 @@ from tests.utils import requires_api_key
class TestAutoGPT(unittest.TestCase):
+ @requires_api_key("OPENAI_API_KEY")
def test_generate_aiconfig_automatic_default(self):
user_inputs = [""]
with patch("builtins.input", side_effect=user_inputs):