launch tests from launch.py with --tests commandline argument

This commit is contained in:
AUTOMATIC
2022-10-30 08:22:44 +03:00
parent 05a657dd35
commit 59dfe0845d
7 changed files with 50 additions and 40 deletions

View File

@@ -1,7 +1,5 @@
import unittest
import requests
from gradio.processing_utils import encode_pil_to_base64
from PIL import Image
class TestExtrasWorking(unittest.TestCase):
def setUp(self):
@@ -22,8 +20,10 @@ class TestExtrasWorking(unittest.TestCase):
"image": ""
}
class TestExtrasCorrectness(unittest.TestCase):
pass
if __name__ == "__main__":
unittest.main()