Skip to content

02_classes/07_outro test_seasonal_discount_validation_expired is not test correctly #16

@xavierforge

Description

@xavierforge

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'>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions