MCPcopy Create free account
hub / github.com/OpenPipe/ART / test_parse_args_required

Function test_parse_args_required

tests/unit/test_dedicated_server.py:11–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10
11def test_parse_args_required():
12 args = parse_args(
13 [
14 "--model",
15 "Qwen/Qwen3-14B",
16 "--port",
17 "8000",
18 "--cuda-visible-devices",
19 "1",
20 "--lora-path",
21 "/tmp/checkpoints/0000",
22 "--served-model-name",
23 "my-model@0",
24 ]
25 )
26 assert args.model == "Qwen/Qwen3-14B"
27 assert args.port == 8000
28 assert args.cuda_visible_devices == "1"
29 assert args.lora_path == "/tmp/checkpoints/0000"
30 assert args.served_model_name == "my-model@0"
31 assert args.host == "127.0.0.1"
32 assert args.engine_args_json == "{}"
33 assert args.server_args_json == "{}"
34
35
36def test_parse_args_with_engine_args():

Callers

nothing calls this directly

Calls 1

parse_argsFunction · 0.90

Tested by

no test coverage detected