Improve the structure of CI (#911)
This commit is contained in:
@@ -11,11 +11,10 @@ class TestOpenAIServer(unittest.TestCase):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
port = 30000
|
||||
|
||||
cls.model = MODEL_NAME_FOR_TEST
|
||||
cls.base_url = f"http://localhost:{port}/v1"
|
||||
cls.process = popen_launch_server(cls.model, port, timeout=300)
|
||||
cls.base_url = f"http://localhost:30000"
|
||||
cls.process = popen_launch_server(cls.model, cls.base_url, timeout=300)
|
||||
cls.base_url += "/v1"
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
||||
Reference in New Issue
Block a user