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.

Skip imagegen tests in CI

BillSchumacher5b86682e242d
diff --git a/tests/test_image_gen.py b/tests/test_image_gen.py
index eccbddfc68..c1cb3f925d 100644
--- a/tests/test_image_gen.py
+++ b/tests/test_image_gen.py
@@ -1,7 +1,7 @@
import unittest
import hashlib
from PIL import Image
-
+import os
from autogpt.config import Config
from autogpt.commands.image_gen import generate_image, generate_image_with_sd_webui
from autogpt.workspace import path_in_workspace
@@ -11,6 +11,7 @@ def lst(txt):
return txt.split(":")[1].strip()
[email protected](os.getenv("CI"), "Skipping image generation tests")
class TestImageGen(unittest.TestCase):
def setUp(self):
self.config = Config()