Some checks failed
tamq-ci / test (push) Failing after 36s
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a02f34-ead4-7a60-85cd-d7f08e22fa0e
6 lines
141 B
Python
6 lines
141 B
Python
from tamq.cli import parse_size
|
|
|
|
|
|
def test_parse_size():
|
|
assert parse_size("100MB") == 100_000_000
|
|
assert parse_size("2KB") == 2_000
|