aboutsummaryrefslogtreecommitdiffstats
path: root/test/server_poll.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-01-09 20:43:11 +0000
committerGitHub <noreply@github.com>2023-01-09 20:43:11 +0000
commit9bec415bab2e83bbad4067418bede336b2162e55 (patch)
tree4688a6f581591ede0a06bdc6ccc79fd723407c98 /test/server_poll.py
parent1fbb6f9ebe48326a3b12ecf611105dbc4a46891e (diff)
parent00005ac9af10d58a75f7ce0aa04db78775808e93 (diff)
downloadstable-diffusion-webui-gfx803-9bec415bab2e83bbad4067418bede336b2162e55.tar.gz
stable-diffusion-webui-gfx803-9bec415bab2e83bbad4067418bede336b2162e55.tar.bz2
stable-diffusion-webui-gfx803-9bec415bab2e83bbad4067418bede336b2162e55.zip
Merge pull request #6568 from mezotaken/fix-tests
Tests fixes and additions
Diffstat (limited to 'test/server_poll.py')
-rw-r--r--test/server_poll.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/server_poll.py b/test/server_poll.py
index d4df697b..42d56a4c 100644
--- a/test/server_poll.py
+++ b/test/server_poll.py
@@ -15,7 +15,7 @@ def run_tests(proc, test_dir):
break
if proc.poll() is None:
if test_dir is None:
- test_dir = ""
+ test_dir = "test"
suite = unittest.TestLoader().discover(test_dir, pattern="*_test.py", top_level_dir="test")
result = unittest.TextTestRunner(verbosity=2).run(suite)
return len(result.failures) + len(result.errors)