def test_last_reset(): assert utils.find_last_reset(weekheader) == (31, 35, '\x1b[0m') assert utils.find_last_reset(today_line) == (13, 17, '\x1b[0m') assert utils.find_last_reset(calendarline) == (99, 103, '\x1b[0m') assert utils.find_last_reset('Hello World') == (-2, -1, '')