'Verify verification_status_for_user returns correct status.'

@ddt.unpack
@ddt.data({'enrollment_mode': 'honor', 'status': None, 'output': 'N/A'}, {'enrollment_mode': 'audit', 'status': None, 'output': 'N/A'}, {'enrollment_mode': 'verified', 'status': False, 'output': 'Not    ID    Verified'}, {'enrollment_mode': 'verified', 'status': True, 'output': 'ID    Verified'})
def test_verification_status_for_user(self, enrollment_mode, status, output):

    user = UserFactory.create()
    course = CourseFactory.create()
    with patch('lms.djangoapps.verify_student.models.SoftwareSecurePhotoVerification.user_is_verified') as mock_verification:
        mock_verification.return_value = status
        status = SoftwareSecurePhotoVerification.verification_status_for_user(user, course.id, enrollment_mode)
        self.assertEqual(status, output)
