def test_consecutive_sum_max_length(self): primes = Primes() assert primes.consecutive_sum_max_length(50) == (41, 6)