tailot's picture
thinking-python: reference implementation, corpus and gates
4bc63c7 verified
Raw History Blame Contribute Delete
301 Bytes
from export import columns, limit, name, ready
def test_columns():
assert columns([('a',), ('b',)]) == ['a', 'b']
def test_limit():
assert limit(2) == 1000
def test_ready():
assert ready({'built': True, 'name': 's'}) == 's'
def test_name():
assert name({'name': 's'}) == 'sheet s'