Download fixtures/seed_project/tests/test_export.py from tailot/lingologos-thinkingpython: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/datasets/tailot/lingologos-thinkingpython/resolve/main/fixtures/seed_project/tests/test_export.py
- Command line
-
hf download hf://datasets/tailot/lingologos-thinkingpython/fixtures/seed_project/tests/test_export.py
-
curl -L -o test_export.py https://huggingface.co/datasets/tailot/lingologos-thinkingpython/resolve/main/fixtures/seed_project/tests/test_export.py
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' | |