combine tests together, return set options test

This commit is contained in:
Vladimir Repin
2023-01-09 19:39:06 +03:00
parent 3af488bdff
commit 7d2bb86cce
5 changed files with 18 additions and 47 deletions

View File

@@ -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()