diff options
author | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2022-11-12 12:12:15 +0000 |
---|---|---|
committer | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2022-11-12 12:12:15 +0000 |
commit | 007f4f7314eabd9cc3a2b0d11889de49ad3c682a (patch) | |
tree | d62f8156fcb992a069892e75865d318d03c8cb29 /launch.py | |
parent | 98947d173e3f1667eba29c904f681047dea9de90 (diff) | |
download | stable-diffusion-webui-gfx803-007f4f7314eabd9cc3a2b0d11889de49ad3c682a.tar.gz stable-diffusion-webui-gfx803-007f4f7314eabd9cc3a2b0d11889de49ad3c682a.tar.bz2 stable-diffusion-webui-gfx803-007f4f7314eabd9cc3a2b0d11889de49ad3c682a.zip |
Tests cleaned up
Diffstat (limited to 'launch.py')
-rw-r--r-- | launch.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -229,6 +229,9 @@ def prepare_enviroment(): def tests(argv):
if "--api" not in argv:
argv.append("--api")
+ if "--ckpt" not in argv:
+ argv.append("--ckpt")
+ argv.append("./test/test_files/empty.pt")
print(f"Launching Web UI in another process for testing with arguments: {' '.join(argv[1:])}")
@@ -236,7 +239,7 @@ def tests(argv): proc = subprocess.Popen([sys.executable, *argv], stdout=stdout, stderr=stderr)
import test.server_poll
- test.server_poll.run_tests()
+ test.server_poll.run_tests(proc)
print(f"Stopping Web UI process with id {proc.pid}")
proc.kill()
|