Example #1
0
def test_sum_by_name_no_order_implicit():
    test_list = sum_by_fields_names(
        'Sacramentorealestatetransactions.csv', 'city', 'price')
    assert type(test_list) is list
Example #2
0
def test_sum_by_name_asc():
    test_list = sum_by_fields_names(
        'Sacramentorealestatetransactions.csv', 'city', 'price', True, 'Asc')
    assert type(test_list) is list