'Verify that learner can submit photos if verification is set to expired soon.
Verification will be good for next DAYS_GOOD_FOR (i.e here it is 5 days) days,
and learner can submit photos if verification is set to expire in
EXPIRING_SOON_WINDOW(i.e here it is 10 days) or less days.'

@override_settings(VERIFY_STUDENT={'DAYS_GOOD_FOR': 5, 'EXPIRING_SOON_WINDOW': 10})
def test_reverify_view_can_reverify_approved_expired_soon(self):

    attempt = SoftwareSecurePhotoVerification.objects.create(user=self.user)
    attempt.mark_ready()
    attempt.submit()
    attempt.approve()
    self._assert_can_reverify()
