Use localhost with 80 port, count errors as well

This commit is contained in:
Vladimir Repin
2022-11-14 14:55:39 +03:00
parent 0646040667
commit 7416ac8d3c
6 changed files with 17 additions and 17 deletions

View File

@@ -3,7 +3,7 @@ import unittest
class TestExtrasWorking(unittest.TestCase):
def setUp(self):
self.url_img2img = "http://127.0.0.1:7860/sdapi/v1/extra-single-image"
self.url_img2img = "http://localhost:80/sdapi/v1/extra-single-image"
self.simple_extras = {
"resize_mode": 0,
"show_extras_results": True,

View File

@@ -4,7 +4,7 @@ import requests
class TestTxt2ImgWorking(unittest.TestCase):
def setUp(self):
self.url_txt2img = "http://127.0.0.1:7860/sdapi/v1/txt2img"
self.url_txt2img = "http://localhost:80/sdapi/v1/txt2img"
self.simple_txt2img = {
"enable_hr": False,
"denoising_strength": 0,