diff options
author | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2023-01-09 16:39:06 +0000 |
---|---|---|
committer | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2023-01-09 16:39:06 +0000 |
commit | 7d2bb86cce10ee6a8e81aaad810544a4ca38cec9 (patch) | |
tree | 3d61495076c92ab880314efddf2079427df06818 /test/basic_features/txt2img_test.py | |
parent | 3af488bdff983efc8e77f49b26c18847413754f4 (diff) | |
download | stable-diffusion-webui-gfx803-7d2bb86cce10ee6a8e81aaad810544a4ca38cec9.tar.gz stable-diffusion-webui-gfx803-7d2bb86cce10ee6a8e81aaad810544a4ca38cec9.tar.bz2 stable-diffusion-webui-gfx803-7d2bb86cce10ee6a8e81aaad810544a4ca38cec9.zip |
combine tests together, return set options test
Diffstat (limited to 'test/basic_features/txt2img_test.py')
-rw-r--r-- | test/basic_features/txt2img_test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/basic_features/txt2img_test.py b/test/basic_features/txt2img_test.py index 1c2674b2..bbc846ed 100644 --- a/test/basic_features/txt2img_test.py +++ b/test/basic_features/txt2img_test.py @@ -63,6 +63,10 @@ class TestTxt2ImgWorking(unittest.TestCase): self.simple_txt2img["n_iter"] = 2 self.assertEqual(requests.post(self.url_txt2img, json=self.simple_txt2img).status_code, 200) + def test_txt2img_with_restore_faces_performed(self): + self.simple_txt2img["restore_faces"] = True + self.assertEqual(requests.post(self.url_txt2img, json=self.simple_txt2img).status_code, 200) + if __name__ == "__main__": unittest.main() |