'Test that the user can still re-verify even if the previous photo
verification is in pending state.
A photo verification is considered in pending state when the user has
either submitted the photo verification (status in database: \'submitted\')
or photo verification submission failed (status in database: \'must_retry\').'

def test_reverify_view_can_reverify_pending(self):

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