def test_min_spread_record_rv():
    records = [{'max': 10, 'min': 0}, {'max': 1, 'min': 0}, {'max': None, 'min': None}]
    assert (min_spread_record(records, 'max', 'min') == {'max': 1, 'min': 0})
def test_min_spread_record_rv():
    records = [{'max': 10, 'min': 0}, {'max': 1, 'min': 0}, {'max': None, 'min': None}]
    assert (min_spread_record(records, 'max', 'min') == {'max': 1, 'min': 0})