Coverage for test_e13_tuple_records.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1from e13_tuple_records import format_sort_records, PEOPLE
4def test_empty():
5 assert format_sort_records([]) == []
8def test_with_people():
9 output = format_sort_records(PEOPLE)
10 assert isinstance(output, list)
11 assert all(isinstance(x, str) for x in output)
13 assert output[0][:10].strip() == 'Putin'
14 assert output[0][10:20].strip() == 'Vladimir'
15 assert output[0][20:].strip() == '3.63'