コード例 #1
0
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
コード例 #2
0
def test_monthlist():
    start = '2017-01-09'
    end = '2018-12-27'
    p = Prices()
    months = p.monthlist([start, end])
    assert len(months) == 24