diff options
author | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2023-01-10 09:46:35 +0000 |
---|---|---|
committer | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2023-01-10 09:47:52 +0000 |
commit | 76a21b9626b7556638db188c157e3e8036803326 (patch) | |
tree | d8d01271be98292601e4d0ab5ea579fcc2601d8a /test/basic_features/txt2img_test.py | |
parent | 7ec275fae799f19cdb1756412ae75ca6bfe251cd (diff) | |
download | stable-diffusion-webui-gfx803-76a21b9626b7556638db188c157e3e8036803326.tar.gz stable-diffusion-webui-gfx803-76a21b9626b7556638db188c157e3e8036803326.tar.bz2 stable-diffusion-webui-gfx803-76a21b9626b7556638db188c157e3e8036803326.zip |
clear envvar, add assertion
Diffstat (limited to 'test/basic_features/txt2img_test.py')
-rw-r--r-- | test/basic_features/txt2img_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/basic_features/txt2img_test.py b/test/basic_features/txt2img_test.py index 5b27a7ec..5aa43a44 100644 --- a/test/basic_features/txt2img_test.py +++ b/test/basic_features/txt2img_test.py @@ -43,6 +43,7 @@ class TestTxt2ImgWorking(unittest.TestCase): def test_txt2img_with_complex_prompt_performed(self): self.simple_txt2img["prompt"] = "((emphasis)), (emphasis1:1.1), [to:1], [from::2], [from:to:0.3], [alt|alt1]" + self.assertEqual(requests.post(self.url_txt2img, json=self.simple_txt2img).status_code, 200) def test_txt2img_not_square_image_performed(self): self.simple_txt2img["height"] = 128 |