Skip to content

Commit 4d46bd0

Browse files
committed
update comments
1 parent e03822d commit 4d46bd0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

qa/L0_backend_python/model_control/model_control_test.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ def test_model_reload(self):
8888

8989
class ModelIDValidationTest(unittest.TestCase):
9090
"""
91-
Test model ID validation for user-provided model names
91+
Test model ID validation for user-provided model names.
92+
93+
Verifies that model names containing dangerous characters are properly rejected.
94+
Uses raw HTTP requests via curl instead of the Triton client to test server-side
95+
validation without the Triton client encoding special characters.
9296
"""
9397

9498
def setUp(self):
@@ -210,7 +214,6 @@ def __init__(self, error_msg):
210214
def test_invalid_character_model_names(self):
211215
"""Test that model names with invalid characters are properly rejected"""
212216

213-
# Model names with various invalid characters that should be rejected. These requests are using curl to avoid the client encoding these values. Encoded model names are safe and can be accepted by the server.
214217
# Based on INVALID_CHARS = ";|&$`<>()[]{}\\\"'*?~#!"
215218
invalid_model_names = [
216219
r"model;test",

0 commit comments

Comments
 (0)