Completed
Push — master ( a208b6...2c60dc )
by Kolen
01:08
created

test_regularize_table_list()   A

Complexity

Conditions 2

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 1
Metric Value
cc 2
c 3
b 0
f 1
dl 0
loc 8
rs 9.4285
1
#!/usr/bin/env python3
2
"""
3
4
"""
5
from .context import regularize_table_list
6
7
8
def test_regularize_table_list():
9
    raw_table_list = [['1'], ['2', '3', '4', '5', '6', '7']]
10
    regularize_table_list(raw_table_list)
11
    assert raw_table_list == [
12
        ['1', '', '', '', '', ''],
13
        ['2', '3', '4', '5', '6', '7']
14
    ]
15
    return
16