def test_monthlist_nextweek(): start = '2017-01-09' end = '2018-12-27' p = Prices() months = [p.next_weekday(x) for x in p.monthlist([start, end])] assert len(months) == 24
def test_monthlist(): start = '2017-01-09' end = '2018-12-27' p = Prices() months = p.monthlist([start, end]) assert len(months) == 24