aboutsummaryrefslogtreecommitdiffstats
path: root/test/txt2img_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/txt2img_test.py')
-rw-r--r--test/txt2img_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/txt2img_test.py b/test/txt2img_test.py
index 1936e07e..ce752085 100644
--- a/test/txt2img_test.py
+++ b/test/txt2img_test.py
@@ -53,13 +53,15 @@ class TestTxt2ImgWorking(unittest.TestCase):
self.simple_txt2img["restore_faces"] = True
self.assertEqual(requests.post(self.url_txt2img, json=self.simple_txt2img).status_code, 200)
- def test_txt2img_with_tiling_faces_performed(self):
+ def test_txt2img_with_tiling_performed(self):
self.simple_txt2img["tiling"] = True
self.assertEqual(requests.post(self.url_txt2img, json=self.simple_txt2img).status_code, 200)
def test_txt2img_with_vanilla_sampler_performed(self):
self.simple_txt2img["sampler_index"] = "PLMS"
self.assertEqual(requests.post(self.url_txt2img, json=self.simple_txt2img).status_code, 200)
+ self.simple_txt2img["sampler_index"] = "DDIM"
+ self.assertEqual(requests.post(self.url_txt2img, json=self.simple_txt2img).status_code, 200)
def test_txt2img_multiple_batches_performed(self):
self.simple_txt2img["n_iter"] = 2