aboutsummaryrefslogtreecommitdiff
path: root/test/advanced_features
diff options
context:
space:
mode:
authorVladimir Repin <32306715+mezotaken@users.noreply.github.com>2022-11-14 14:36:07 +0300
committerVladimir Repin <32306715+mezotaken@users.noreply.github.com>2022-11-14 14:36:07 +0300
commit0646040667b59526ac8346d53efd14dc0e75b01e (patch)
tree0d63875bf408020c3e5d7e06f28bd4c0f31acf6b /test/advanced_features
parent3ffc1c6ceee169fac767a956fd0d4f153b005dbf (diff)
Propagate test error and try it without localhost
Diffstat (limited to 'test/advanced_features')
-rw-r--r--test/advanced_features/extras_test.py2
-rw-r--r--test/advanced_features/txt2img_test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/advanced_features/extras_test.py b/test/advanced_features/extras_test.py
index 8763f8ed..abdd5aa2 100644
--- a/test/advanced_features/extras_test.py
+++ b/test/advanced_features/extras_test.py
@@ -3,7 +3,7 @@ import unittest
class TestExtrasWorking(unittest.TestCase):
def setUp(self):
- self.url_img2img = "http://localhost:7860/sdapi/v1/extra-single-image"
+ self.url_img2img = "http://127.0.0.1:7860/sdapi/v1/extra-single-image"
self.simple_extras = {
"resize_mode": 0,
"show_extras_results": True,
diff --git a/test/advanced_features/txt2img_test.py b/test/advanced_features/txt2img_test.py
index 36ed7b9a..6ab5a242 100644
--- a/test/advanced_features/txt2img_test.py
+++ b/test/advanced_features/txt2img_test.py
@@ -4,7 +4,7 @@ import requests
class TestTxt2ImgWorking(unittest.TestCase):
def setUp(self):
- self.url_txt2img = "http://localhost:7860/sdapi/v1/txt2img"
+ self.url_txt2img = "http://127.0.0.1:7860/sdapi/v1/txt2img"
self.simple_txt2img = {
"enable_hr": False,
"denoising_strength": 0,