Skip to content

Commit 8e4c39a

Browse files
committed
Add TODO
1 parent 4e274ce commit 8e4c39a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mock_vws/_validators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ def validate_name(
443443
name_is_string = isinstance(name, str)
444444
name_valid_length = name_is_string and 0 < len(name) < 65
445445

446+
# TODO Test length and encoding
446447
if not name_valid_length:
447448
context.status_code = codes.BAD_REQUEST
448449
body = {
@@ -451,6 +452,7 @@ def validate_name(
451452
}
452453
return json_dump(body)
453454

455+
454456
return wrapped(*args, **kwargs)
455457

456458

0 commit comments

Comments
 (0)