The test case test_seasonal_discount_validation_expired in 02_classes/07_outro should be intended to test SeasonalDiscount to raise an ExpiredDiscount exception if apply is called, but the current date is outside the discount period.
But apply is not called in the test case, so it will always have Failed: DID NOT RAISE <class 'outro2.ExpiredDiscount'>
The test case
test_seasonal_discount_validation_expiredin 02_classes/07_outro should be intended to testSeasonalDiscountto raise anExpiredDiscountexception ifapplyis called, but the current date is outside the discount period.But
applyis not called in the test case, so it will always haveFailed: DID NOT RAISE <class 'outro2.ExpiredDiscount'>