Propagate test error and try it without localhost

This commit is contained in:
Vladimir Repin
2022-11-14 14:36:07 +03:00
parent 3ffc1c6cee
commit 0646040667
7 changed files with 22 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ from PIL import Image
class TestImg2ImgWorking(unittest.TestCase):
def setUp(self):
self.url_img2img = "http://localhost:7860/sdapi/v1/img2img"
self.url_img2img = "http://127.0.0.1:7860/sdapi/v1/img2img"
self.simple_img2img = {
"init_images": [encode_pil_to_base64(Image.open(r"test/test_files/img2img_basic.png"))],
"resize_mode": 0,