from tamq.cli import parse_size def test_parse_size(): assert parse_size("100MB") == 100_000_000 assert parse_size("2KB") == 2_000